@@ -216,7 +216,10 @@ while 1:
while 1:
try:
time.sleep(1)
- rpc.waitforblock()
+ if node_version < 160000 :
+ rpc.waitforblock()
+ else:
+ rpc.waitfornewblock()
print "Found"
break # Block found
except socket.timeout: # Timeout