mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-25 03:22:37 +02:00
Remove unused dummy_tx variable from FillPSBT
This commit is contained in:
parent
ddc3ec92b0
commit
16bcc1b823
@ -4544,11 +4544,6 @@ bool FillPSBT(const CWallet* pwallet, PartiallySignedTransaction& psbtx, const C
|
|||||||
const CTxOut& out = txConst->vout.at(i);
|
const CTxOut& out = txConst->vout.at(i);
|
||||||
PSBTOutput& psbt_out = psbtx.outputs.at(i);
|
PSBTOutput& psbt_out = psbtx.outputs.at(i);
|
||||||
|
|
||||||
// Dummy tx so we can use ProduceSignature to get stuff out
|
|
||||||
CMutableTransaction dummy_tx;
|
|
||||||
dummy_tx.vin.push_back(CTxIn());
|
|
||||||
dummy_tx.vout.push_back(CTxOut());
|
|
||||||
|
|
||||||
// Fill a SignatureData with output info
|
// Fill a SignatureData with output info
|
||||||
SignatureData sigdata;
|
SignatureData sigdata;
|
||||||
psbt_out.FillSignatureData(sigdata);
|
psbt_out.FillSignatureData(sigdata);
|
||||||
|
Loading…
Reference in New Issue
Block a user