commit 10b02b37c98d0fdde85eaa7024f7836eb139fe41
parent da93473ee15aa35a9c3c8c75c08c4fb93a94b73f
Author: ThomasV <thomasv@gitorious>
Date: Wed, 7 Nov 2012 21:59:06 +0100
raise exception on status mismatch too
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1060,8 +1060,7 @@ class WalletSynchronizer(threading.Thread):
# check that the status corresponds to what was announced
if self.wallet.get_status(hist) != requested_histories.pop(addr):
- print "error: status mismatch:", addr
- continue
+ raise BaseException("error: status mismatch: %s"%addr)
# store received history
self.wallet.receive_history_callback(addr, hist)