fix exception
authorecdsa <ecdsa@github>
Tue, 12 Mar 2013 19:59:37 +0000 (20:59 +0100)
committerecdsa <ecdsa@github>
Tue, 12 Mar 2013 19:59:37 +0000 (20:59 +0100)
lib/wallet.py

index 2fbae84..fbd3408 100644 (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