git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0569cc2
)
remove internal check that was too strong
author
ecdsa
<ecdsa@github>
Tue, 12 Mar 2013 20:55:56 +0000 (21:55 +0100)
committer
ecdsa
<ecdsa@github>
Tue, 12 Mar 2013 20:55:56 +0000 (21:55 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
fbd3408
..
5c3a7b8
100644
(file)
--- 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