From d7dc804b323f2db8b99dc99b0a95337c2c4eb2e2 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 15 Sep 2017 12:07:57 +0200 Subject: [PATCH] fix iteration bug --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 275f79b2..0a718eba 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -648,7 +648,7 @@ class Abstract_Wallet(PrintError): self.pruned_txo.pop(ser) # add tx to pruned_txo, and undo the txi addition for next_tx, dd in self.txi.items(): - for addr, l in dd.items(): + for addr, l in list(dd.items()): ll = l[:] for item in ll: ser, v = item