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)
|
return self.conns[self.curr_conn]._call(method,params)
|
||||||
except:
|
except:
|
||||||
self.next_connection()
|
self.next_connection()
|
||||||
def check_submitblock(self):
|
def check_submitblock(self):
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
return self.conns[self.curr_conn].check_submitblock()
|
return self.conns[self.curr_conn].check_submitblock()
|
||||||
except:
|
except:
|
||||||
self.next_connection()
|
self.next_connection()
|
||||||
|
|
||||||
def submitblock(self, block_hex, hash_hex, scrypt_hex):
|
def submitblock(self, block_hex, hash_hex, scrypt_hex):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user