merkle root too
authorThomasV <thomasv@gitorious>
Sat, 27 Oct 2012 18:52:32 +0000 (20:52 +0200)
committerThomasV <thomasv@gitorious>
Sat, 27 Oct 2012 18:52:32 +0000 (20:52 +0200)
lib/verifier.py

index 7713045..b6f8644 100644 (file)
@@ -215,6 +215,7 @@ class WalletVerifier(threading.Thread):
                 if tx_height >= height:
                     print "redoing", tx_hash
                     self.verified_tx.pop(tx_hash)
+                    if tx_hash in self.merkle_roots: self.merkle_roots.pop(tx_hash)
             # return False to request previous header.
             return False