Skip to content

Commit 16bcc1b

Browse files
committed
Remove unused dummy_tx variable from FillPSBT
1 parent ddc3ec9 commit 16bcc1b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4544,11 +4544,6 @@ bool FillPSBT(const CWallet* pwallet, PartiallySignedTransaction& psbtx, const C
45444544
const CTxOut& out = txConst->vout.at(i);
45454545
PSBTOutput& psbt_out = psbtx.outputs.at(i);
45464546

4547-
// Dummy tx so we can use ProduceSignature to get stuff out
4548-
CMutableTransaction dummy_tx;
4549-
dummy_tx.vin.push_back(CTxIn());
4550-
dummy_tx.vout.push_back(CTxOut());
4551-
45524547
// Fill a SignatureData with output info
45534548
SignatureData sigdata;
45544549
psbt_out.FillSignatureData(sigdata);

0 commit comments

Comments
 (0)