diff options
author | Carl Dong <accounts@carldong.me> | 2018-08-13 18:45:26 -0700 |
---|---|---|
committer | Carl Dong <accounts@carldong.me> | 2018-08-13 18:45:26 -0700 |
commit | 16bcc1b8237698c96b8ced2fa7eb76388c7ba85e (patch) | |
tree | 131f81fd3e23d784044b1c6fc00b53a665616678 | |
parent | ddc3ec92b0e655a3da21ac2e85ec2e7ecb66c65b (diff) |
Remove unused dummy_tx variable from FillPSBT
-rw-r--r-- | src/wallet/rpcwallet.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index a766874f12..c03dbc5d2c 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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); |