tfix #4100: spent_outpoints does not track everything - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 152ec1447ced1a33a372d1684caa8be2ae1755c2 DIR parent cf866adfe3063f3603be28216606d9448ad0da19 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 12 Mar 2018 11:56:00 +0100 fix #4100: spent_outpoints does not track everything Diffstat: M lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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