mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
Update PSBT::UpdatePSBTOutput to use GetUnsignedTx
This commit is contained in:
parent
55cc7cd4c8
commit
e79474e561
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ size_t CountPSBTUnsignedInputs(const PartiallySignedTransaction& psbt) {
|
||||||
|
|
||||||
void UpdatePSBTOutput(const SigningProvider& provider, PartiallySignedTransaction& psbt, int index)
|
void UpdatePSBTOutput(const SigningProvider& provider, PartiallySignedTransaction& psbt, int index)
|
||||||
{
|
{
|
||||||
CMutableTransaction& tx = *Assert(psbt.tx);
|
CMutableTransaction tx = psbt.GetUnsignedTx();
|
||||||
const CTxOut& out = tx.vout.at(index);
|
const CTxOut& out = tx.vout.at(index);
|
||||||
PSBTOutput& psbt_out = psbt.outputs.at(index);
|
PSBTOutput& psbt_out = psbt.outputs.at(index);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue