diff --git a/lib/bitcoin_rpc_manager.py b/lib/bitcoin_rpc_manager.py index b4360dd..0244967 100644 --- a/lib/bitcoin_rpc_manager.py +++ b/lib/bitcoin_rpc_manager.py @@ -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()