fix exception

This commit is contained in:
ecdsa 2013-03-12 20:59:37 +01:00
parent 0c51347d9d
commit 0569cc283a
1 changed files with 1 additions and 1 deletions

View File

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