From c638af7803dbee41703d26861527e0f1ee2bf5c6 Mon Sep 17 00:00:00 2001 From: thomasv Date: Tue, 29 Jan 2013 13:19:00 +0100 Subject: [PATCH] fix check_new_hist: transaction might not be in wallet --- lib/wallet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/wallet.py b/lib/wallet.py index 93a8cf0f..e6dd1027 100644 --- 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