add extra argument to bitcoin_rpc_manager submitblock

This commit is contained in:
Alan Penner 2014-01-22 14:24:00 -08:00 committed by Ahmed Bodiwala
parent 604e22749c
commit 041c5a0608

View File

@ -96,10 +96,10 @@ class BitcoinRPCManager(object):
except:
self.next_connection()
def submitblock(self, block_hex, hash_hex):
def submitblock(self, block_hex, hash_hex, scrypt_hex):
while True:
try:
return self.conns[self.curr_conn].submitblock(block_hex, hash_hex)
return self.conns[self.curr_conn].submitblock(block_hex, hash_hex, scrypt_hex)
except:
self.next_connection()