fix txi.txo_ref

This commit is contained in:
Jack Robison 2020-12-22 14:05:37 -05:00
parent 6a610187e0
commit 4cbf4230e8
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -668,7 +668,7 @@ class Ledger(metaclass=LedgerRegistry):
if wanted_txid not in remote_history: if wanted_txid not in remote_history:
continue continue
if wanted_txid in pending_txs: if wanted_txid in pending_txs:
tx = pending_txs[wanted_txid] txi.txo_ref = pending_txs[wanted_txid].outputs[txi.txo_ref.position].ref
else: else:
check_db_for_txos[txi] = txi.txo_ref.id check_db_for_txos[txi] = txi.txo_ref.id