fix #4100: spent_outpoints does not track everything

This commit is contained in:
ThomasV 2018-03-12 11:56:00 +01:00
parent cf866adfe3
commit 152ec1447c

View file

@ -890,7 +890,7 @@ class Abstract_Wallet(PrintError):
# undo spent_outpoints that are in pruned_txo
for ser, hh in list(self.pruned_txo.items()):
if hh == tx_hash:
self.spent_outpoints.pop(ser)
self.spent_outpoints.pop(ser, None)
self.pruned_txo.pop(ser)
# add tx to pruned_txo, and undo the txi addition