mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 11:33:46 +02:00
Remove unused dummy_tx variable from FillPSBT
This commit is contained in:
@@ -4544,11 +4544,6 @@ bool FillPSBT(const CWallet* pwallet, PartiallySignedTransaction& psbtx, const C
|
||||
const CTxOut& out = txConst->vout.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
|
||||
SignatureData sigdata;
|
||||
psbt_out.FillSignatureData(sigdata);
|
||||
|
Reference in New Issue
Block a user