fix exception
This commit is contained in:
parent
0c51347d9d
commit
0569cc283a
|
@ -640,7 +640,7 @@ class Wallet:
|
|||
def receive_tx_callback(self, tx_hash, tx, tx_height):
|
||||
|
||||
if not self.check_new_tx(tx_hash, tx):
|
||||
raise BaseException("error: received transaction is not consistent with history"%tx_hash)
|
||||
raise BaseException("error: received transaction is not consistent with history", tx_hash)
|
||||
|
||||
with self.lock:
|
||||
self.transactions[tx_hash] = tx
|
||||
|
|
Loading…
Reference in New Issue