Merge #13962: Remove unused dummy_tx variable from FillPSBT
16bcc1b823
Remove unused dummy_tx variable from FillPSBT (Carl Dong)
Pull request description:
Tree-SHA512: e7652126bca2e87d445d4190aa0b4192d9575bc0c280d063302ca420be51e7a04fcbc24e0e7f5ec1f18938f0a596901e1285e9afc9b33ca3da78177938791163
This commit is contained in:
commit
2be8206a67
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue