commit d7dc804b323f2db8b99dc99b0a95337c2c4eb2e2
parent 302dd3912dddaec9dfffd0f3f6dde99a67354c4c
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 15 Sep 2017 12:07:57 +0200
fix iteration bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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