From 8dd88a27806cf63f3e9a9b8bc50df878618c4ef3 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 22 Jul 2021 12:21:55 -0400 Subject: [PATCH] fix spends in address histories --- lbry/wallet/server/block_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/wallet/server/block_processor.py b/lbry/wallet/server/block_processor.py index a425284d3..5801ddb1e 100644 --- a/lbry/wallet/server/block_processor.py +++ b/lbry/wallet/server/block_processor.py @@ -1167,8 +1167,8 @@ class BlockProcessor: hashX = spend_utxo(txin.prev_hash, txin.prev_idx) if hashX: # self._set_hashX_cache(hashX) - if txin_num not in self.hashXs_by_tx[hashX]: - self.hashXs_by_tx[hashX].append(txin_num) + if tx_count not in self.hashXs_by_tx[hashX]: + self.hashXs_by_tx[hashX].append(tx_count) # spend claim/support txo spend_claim_or_support_txo(txin, spent_claims)