commit 048eb01300dafd8790eee7e0ec7d939daa54361f
parent cb9dcb8e2674b39285917e864769322f705a1836
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 28 Feb 2019 10:04:44 +0100
fix json_db list
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/json_db.py b/electrum/json_db.py
@@ -600,7 +600,7 @@ class JsonDB(PrintError):
d[addr] = set([tuple(x) for x in lst])
# remove unreferenced tx
- for tx_hash in self.transactions:
+ for tx_hash in list(self.transactions.keys()):
if not self.get_txi(tx_hash) and not self.get_txo(tx_hash):
self.print_error("removing unreferenced tx", tx_hash)
self.transactions.pop(tx_hash)