tfix json_db list - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 048eb01300dafd8790eee7e0ec7d939daa54361f DIR parent cb9dcb8e2674b39285917e864769322f705a1836 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 28 Feb 2019 10:04:44 +0100 fix json_db list Diffstat: M electrum/json_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/json_db.py b/electrum/json_db.py t@@ -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)