diff --git a/lbry/wallet/server/block_processor.py b/lbry/wallet/server/block_processor.py index aab99452f..df40d7ea6 100644 --- a/lbry/wallet/server/block_processor.py +++ b/lbry/wallet/server/block_processor.py @@ -601,13 +601,17 @@ class BlockProcessor: prefix = b'h' + tx_hash[:4] + idx_packed candidates = {db_key: hashX for db_key, hashX in self.db.utxo_db.iterator(prefix=prefix)} - for hdb_key, hashX in candidates.items(): tx_num_packed = hdb_key[-4:] - if len(candidates) > 1: + tx_num, = unpack('