diff options
| author | Carl Dong <[email protected]> | 2018-08-13 18:45:26 -0700 |
|---|---|---|
| committer | Carl Dong <[email protected]> | 2018-08-13 18:45:26 -0700 |
| commit | 16bcc1b8237698c96b8ced2fa7eb76388c7ba85e (patch) | |
| tree | 131f81fd3e23d784044b1c6fc00b53a665616678 /src | |
| parent | Merge #13634: ui: Compile boost::signals2 only once (diff) | |
| download | discoin-16bcc1b8237698c96b8ced2fa7eb76388c7ba85e.tar.xz discoin-16bcc1b8237698c96b8ced2fa7eb76388c7ba85e.zip | |
Remove unused dummy_tx variable from FillPSBT
Diffstat (limited to 'src')
| -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 a766874f1..c03dbc5d2 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); |