From 036d5746a3e977eb9150171d00e844c0ae4fa5c4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 3 Nov 2017 14:08:46 +0100 Subject: [PATCH] fix verified_tx iteration --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 7b8085fa..e700e24d 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -311,7 +311,7 @@ class Abstract_Wallet(PrintError): '''Used by the verifier when a reorg has happened''' txs = set() with self.lock: - for tx_hash, item in self.verified_tx.items(): + for tx_hash, item in list(self.verified_tx.items()): tx_height, timestamp, pos = item if tx_height >= height: header = blockchain.read_header(tx_height)