aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Dong <accounts@carldong.me>2018-08-13 18:45:26 -0700
committerCarl Dong <accounts@carldong.me>2018-08-13 18:45:26 -0700
commit16bcc1b8237698c96b8ced2fa7eb76388c7ba85e (patch)
tree131f81fd3e23d784044b1c6fc00b53a665616678 /src
parentddc3ec92b0e655a3da21ac2e85ec2e7ecb66c65b (diff)
downloadbitcoin-16bcc1b8237698c96b8ced2fa7eb76388c7ba85e.tar.xz
Remove unused dummy_tx variable from FillPSBT
Diffstat (limited to 'src')
-rw-r--r--src/wallet/rpcwallet.cpp5
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);