diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-03-27 13:34:39 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-04-10 09:29:17 -0700 |
commit | be678312102ed9bee66738c4721df1343518e3ea (patch) | |
tree | 545aa24272132e7e05b45c026096b19477cdb0b4 /src/wallet | |
parent | 190b8d2dcf2f977b57298cc19be9974bfa83a071 (diff) |
Make DummySignatureCreator a singleton
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index a3a4e71f02..3115981de3 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1535,7 +1535,7 @@ bool CWallet::DummySignInput(CTxIn &tx_in, const CTxOut &txout) const const CScript& scriptPubKey = txout.scriptPubKey; SignatureData sigdata; - if (!ProduceSignature(*this, DummySignatureCreator(), scriptPubKey, sigdata)) + if (!ProduceSignature(*this, DUMMY_SIGNATURE_CREATOR, scriptPubKey, sigdata)) { return false; } else { |