mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
fix json_db list
This commit is contained in:
parent
cb9dcb8e26
commit
048eb01300
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue