commit c638af7803dbee41703d26861527e0f1ee2bf5c6
parent d451b933695732eddf19ff30a6f321151e4ed186
Author: thomasv <thomasv@gitorious>
Date: Tue, 29 Jan 2013 13:19:00 +0100
fix check_new_hist: transaction might not be in wallet
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1134,6 +1134,9 @@ class Wallet:
if not found:
tx = self.transactions.get(tx_hash)
+ # tx might not be there
+ if not tx: continue
+
# already verified?
if tx.get('height'):
continue