Skip to content

Commit e85cafb

Browse files
laanwjgades
authored andcommitted
Merge bitcoin#13962: Remove unused dummy_tx variable from FillPSBT
16bcc1b Remove unused dummy_tx variable from FillPSBT (Carl Dong) Pull request description: Tree-SHA512: e7652126bca2e87d445d4190aa0b4192d9575bc0c280d063302ca420be51e7a04fcbc24e0e7f5ec1f18938f0a596901e1285e9afc9b33ca3da78177938791163
1 parent be36afc commit e85cafb

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
@@ -4426,11 +4426,6 @@ bool FillPSBT(const CWallet* pwallet, PartiallySignedTransaction& psbtx, const C
44264426
const CTxOut& out = txConst->vout.at(i);
44274427
PSBTOutput& psbt_out = psbtx.outputs.at(i);
44284428

4429-
// Dummy tx so we can use ProduceSignature to get stuff out
4430-
CMutableTransaction dummy_tx;
4431-
dummy_tx.vin.push_back(CTxIn());
4432-
dummy_tx.vout.push_back(CTxOut());
4433-
44344429
// Fill a SignatureData with output info
44354430
SignatureData sigdata;
44364431
psbt_out.FillSignatureData(sigdata);

0 commit comments

Comments
 (0)