traise exception on history with repeated tx - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit da93473ee15aa35a9c3c8c75c08c4fb93a94b73f DIR parent da5a69d88174ce2f5c0c41cbdfb2d385b4a5c677 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 7 Nov 2012 20:48:42 +0100 raise exception on history with repeated tx Diffstat: M lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1056,8 +1056,7 @@ class WalletSynchronizer(threading.Thread): hist.append( (tx_hash, item['height']) ) if len(hist) != len(result): - print "error: non-unique txid" - continue + raise BaseException("error: server sent history with non-unique txid") # check that the status corresponds to what was announced if self.wallet.get_status(hist) != requested_histories.pop(addr):