mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
fix #3790
This commit is contained in:
parent
743ef9ec8f
commit
f0e7ae20f2
1 changed files with 2 additions and 1 deletions
|
@ -367,7 +367,8 @@ class Abstract_Wallet(PrintError):
|
||||||
def add_unverified_tx(self, tx_hash, tx_height):
|
def add_unverified_tx(self, tx_hash, tx_height):
|
||||||
if tx_height == 0 and tx_hash in self.verified_tx:
|
if tx_height == 0 and tx_hash in self.verified_tx:
|
||||||
self.verified_tx.pop(tx_hash)
|
self.verified_tx.pop(tx_hash)
|
||||||
self.verifier.merkle_roots.pop(tx_hash, None)
|
if self.verifier:
|
||||||
|
self.verifier.merkle_roots.pop(tx_hash, None)
|
||||||
|
|
||||||
# tx will be verified only if height > 0
|
# tx will be verified only if height > 0
|
||||||
if tx_hash not in self.verified_tx:
|
if tx_hash not in self.verified_tx:
|
||||||
|
|
Loading…
Add table
Reference in a new issue