From 4cbf4230e89c71e28d8a724a31c2ce34ee4034b3 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 22 Dec 2020 14:05:37 -0500 Subject: [PATCH] fix txi.txo_ref --- lbry/wallet/ledger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/wallet/ledger.py b/lbry/wallet/ledger.py index fc9bb5b82..696442ab8 100644 --- a/lbry/wallet/ledger.py +++ b/lbry/wallet/ledger.py @@ -668,7 +668,7 @@ class Ledger(metaclass=LedgerRegistry): if wanted_txid not in remote_history: continue 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: check_db_for_txos[txi] = txi.txo_ref.id