diff --git a/lib/bitcoin_rpc.py b/lib/bitcoin_rpc.py index 7f23839..58035b6 100644 --- a/lib/bitcoin_rpc.py +++ b/lib/bitcoin_rpc.py @@ -117,7 +117,7 @@ class BitcoinRPC(object): if json.loads(resp)['result'] == None: # make sure the block was created. log.info("CHECKING FOR BLOCK AFTER SUBMITBLOCK") - defer.returnValue((yield self.blockexists(hash_hex, scrypt_hex))) + defer.returnValue((yield self.blockexists(hash_hex, scrypt_hex))) else: defer.returnValue(False)