mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Change PrecomputePSBTData to use GetUnsignedTx
This commit is contained in:
parent
27da84b84b
commit
2e8f0caa8c
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ void UpdatePSBTOutput(const SigningProvider& provider, PartiallySignedTransactio
|
||||||
|
|
||||||
PrecomputedTransactionData PrecomputePSBTData(const PartiallySignedTransaction& psbt)
|
PrecomputedTransactionData PrecomputePSBTData(const PartiallySignedTransaction& psbt)
|
||||||
{
|
{
|
||||||
const CMutableTransaction& tx = *psbt.tx;
|
const CMutableTransaction& tx = psbt.GetUnsignedTx();
|
||||||
bool have_all_spent_outputs = true;
|
bool have_all_spent_outputs = true;
|
||||||
std::vector<CTxOut> utxos;
|
std::vector<CTxOut> utxos;
|
||||||
for (const PSBTInput& input : psbt.inputs) {
|
for (const PSBTInput& input : psbt.inputs) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue