Update bitcoin_rpc_manager.py
This commit is contained in:
parent
b44277b43c
commit
58c12f18e2
@ -89,11 +89,11 @@ class BitcoinRPCManager(object):
|
||||
return self.conns[self.curr_conn]._call(method,params)
|
||||
except:
|
||||
self.next_connection()
|
||||
def check_submitblock(self):
|
||||
while True:
|
||||
try:
|
||||
def check_submitblock(self):
|
||||
while True:
|
||||
try:
|
||||
return self.conns[self.curr_conn].check_submitblock()
|
||||
except:
|
||||
except:
|
||||
self.next_connection()
|
||||
|
||||
def submitblock(self, block_hex, hash_hex, scrypt_hex):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user