mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
fix #4100: spent_outpoints does not track everything
This commit is contained in:
parent
cf866adfe3
commit
152ec1447c
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ class Abstract_Wallet(PrintError):
|
||||||
# undo spent_outpoints that are in pruned_txo
|
# undo spent_outpoints that are in pruned_txo
|
||||||
for ser, hh in list(self.pruned_txo.items()):
|
for ser, hh in list(self.pruned_txo.items()):
|
||||||
if hh == tx_hash:
|
if hh == tx_hash:
|
||||||
self.spent_outpoints.pop(ser)
|
self.spent_outpoints.pop(ser, None)
|
||||||
self.pruned_txo.pop(ser)
|
self.pruned_txo.pop(ser)
|
||||||
|
|
||||||
# add tx to pruned_txo, and undo the txi addition
|
# add tx to pruned_txo, and undo the txi addition
|
||||||
|
|
Loading…
Add table
Reference in a new issue