Remove unused dummy_tx variable from FillPSBT
This commit is contained in:
1 parent
ddc3ec92b0
commit
16bcc1b823
1 file changed
-5
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user