diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-08-14 10:54:29 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-08-14 10:56:00 +0200 |
commit | 2be8206a67f099ca3d9e50a80614dbf40fb69665 (patch) | |
tree | 7a197098745a4ca0970c1097053ab6284385b005 | |
parent | 7ef60ce88465c76613825e4bc063e166f43a157f (diff) | |
parent | 16bcc1b8237698c96b8ced2fa7eb76388c7ba85e (diff) |
Merge #13962: Remove unused dummy_tx variable from FillPSBT
16bcc1b8237698c96b8ced2fa7eb76388c7ba85e Remove unused dummy_tx variable from FillPSBT (Carl Dong)
Pull request description:
Tree-SHA512: e7652126bca2e87d445d4190aa0b4192d9575bc0c280d063302ca420be51e7a04fcbc24e0e7f5ec1f18938f0a596901e1285e9afc9b33ca3da78177938791163
-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); |