raise exception on history with repeated tx

This commit is contained in:
ThomasV 2012-11-07 20:48:42 +01:00
parent da5a69d881
commit da93473ee1
1 changed files with 1 additions and 2 deletions

View File

@ -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):