fix address history
This commit is contained in:
parent
98017e9a76
commit
92c3d3840d
1 changed files with 2 additions and 2 deletions
|
@ -2018,11 +2018,11 @@ class BlockchainProcessorService(BlockchainService):
|
||||||
}
|
}
|
||||||
for (tx_hash, nout), (hashX, amount, txin_num) in txo_hashXs.items():
|
for (tx_hash, nout), (hashX, amount, txin_num) in txo_hashXs.items():
|
||||||
if not hashX:
|
if not hashX:
|
||||||
hashX_value = hashX_utxos.get((tx_hash[:4], txin_num, nout))
|
hashX_value = hashX_utxos.get((tx_hash, nout))
|
||||||
if not hashX_value:
|
if not hashX_value:
|
||||||
continue
|
continue
|
||||||
hashX = hashX_value.hashX
|
hashX = hashX_value.hashX
|
||||||
utxo_value = utxos.get((hashX, txin_num, nout))
|
utxo_value = utxos.get((tx_hash, nout))
|
||||||
if not utxo_value:
|
if not utxo_value:
|
||||||
self.log.warning(
|
self.log.warning(
|
||||||
"%s:%s is not found in UTXO db for %s", hash_to_hex_str(tx_hash), nout, hash_to_hex_str(hashX)
|
"%s:%s is not found in UTXO db for %s", hash_to_hex_str(tx_hash), nout, hash_to_hex_str(hashX)
|
||||||
|
|
Loading…
Reference in a new issue