Merge pull request #3791 from SomberNight/fix_3790
wallet.add_unverified_tx: test if self.verifier exists
This commit is contained in:
commit
603345a172
|
@ -367,6 +367,7 @@ class Abstract_Wallet(PrintError):
|
|||
def add_unverified_tx(self, tx_hash, tx_height):
|
||||
if tx_height == 0 and tx_hash in self.verified_tx:
|
||||
self.verified_tx.pop(tx_hash)
|
||||
if self.verifier:
|
||||
self.verifier.merkle_roots.pop(tx_hash, None)
|
||||
|
||||
# tx will be verified only if height > 0
|
||||
|
|
Loading…
Reference in New Issue