diff --git a/plugins/Zeroname/updater/zeroname_updater.py b/plugins/Zeroname/updater/zeroname_updater.py index 6edb8d12..c2f4b693 100644 --- a/plugins/Zeroname/updater/zeroname_updater.py +++ b/plugins/Zeroname/updater/zeroname_updater.py @@ -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