Skip to content

Commit cd1b61a

Browse files
author
mx
committed
Merge remote-tracking branch 'origin/blockchain_network_integration' into blockchain_network_integration
2 parents 215769e + 457bb06 commit cd1b61a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

network/network.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ def broadcast_ask_chain(self): # Done
3838
self.node.send("-c ", nodeList, "")
3939

4040
def _broadcast_ping(self): #Done
41-
nodeBroadcast = Node("192.168.43.161")
4241
myNodeToSend = jsonpickle.encode(self.node)
42+
for nodeList in self.nodes:
43+
self.node.send("-p ", nodeList, myNodeToSend)
4344

4445
def receiv(self):
4546
print("ready to receiv")

0 commit comments

Comments
 (0)