synchronizer: wait for interface
This commit is contained in:
@@ -59,7 +59,7 @@ class BlockchainVerifier(threading.Thread):
|
||||
|
||||
def get_new_response(self):
|
||||
# listen to interfaces, forward to verifier using the queue
|
||||
while 1:
|
||||
while self.is_running():
|
||||
for i in self.interfaces:
|
||||
try:
|
||||
r = i.get_response('verifier',timeout=0)
|
||||
|
||||
Reference in New Issue
Block a user