Update bitcoin_rpc_manager.py

This commit is contained in:
ahmedbodi 2014-01-30 09:40:45 +00:00
parent b44277b43c
commit 58c12f18e2

View File

@ -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):