From 5e7e002bd8e870a7c606d93c1f322c63a4e24386 Mon Sep 17 00:00:00 2001 From: ecdsa Date: Tue, 12 Mar 2013 21:55:56 +0100 Subject: [PATCH] remove internal check that was too strong --- lib/wallet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index fbd3408f..5c3a7b87 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -640,7 +640,9 @@ 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) + # may happen due to pruning + print_error("received transaction that is no longer referenced in history", tx_hash) + return with self.lock: self.transactions[tx_hash] = tx