electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit da93473ee15aa35a9c3c8c75c08c4fb93a94b73f
parent da5a69d88174ce2f5c0c41cbdfb2d385b4a5c677
Author: ThomasV <thomasv@gitorious>
Date:   Wed,  7 Nov 2012 20:48:42 +0100

raise exception on history with repeated tx

Diffstat:
Mlib/wallet.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -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):