fix verified_tx iteration
This commit is contained in:
parent
d7f29374c9
commit
036d5746a3
|
@ -311,7 +311,7 @@ class Abstract_Wallet(PrintError):
|
||||||
'''Used by the verifier when a reorg has happened'''
|
'''Used by the verifier when a reorg has happened'''
|
||||||
txs = set()
|
txs = set()
|
||||||
with self.lock:
|
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
|
tx_height, timestamp, pos = item
|
||||||
if tx_height >= height:
|
if tx_height >= height:
|
||||||
header = blockchain.read_header(tx_height)
|
header = blockchain.read_header(tx_height)
|
||||||
|
|
Loading…
Reference in New Issue