add tx for all inputs with same txid
MODIFY
WalletWasabi/Blockchain/Transactions/TransactionFactory.cs
WalletWasabi/Blockchain/Transactions/TransactionFactory.cs
@@ -365,12 +365,16 @@ namespace WalletWasabi.Blockchain.Transactions
var coinInputTxID = input.TransactionId;
if (Store.TransactionStore.TryGetTransaction(coinInputTxID, out var txn))
{
- var psbtInput = psbt.Inputs.FirstOrDefault(x => x.PrevOut.Hash == coinInputTxID);
- if (psbtInput != null)
+ var psbtInputs = psbt.Inputs.Where(x => x.PrevOut.Hash == coinInputTxID);
+ foreach (var psbtInput in psbtInputs)
{
psbtInput.NonWitnessUtxo = txn.Transaction;
}
}
+ else
+ {
+ Logger.LogWarning($"Transaction id:{coinInputTxID} is missing from the TransactionStore. Ignoring...");
+ }
}
}
}

add tx for all inputs with same txid