diff options
| author | Pieter Wuille <[email protected]> | 2018-03-27 13:34:39 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2018-04-10 09:29:17 -0700 |
| commit | be678312102ed9bee66738c4721df1343518e3ea (patch) | |
| tree | 545aa24272132e7e05b45c026096b19477cdb0b4 /src/wallet/wallet.cpp | |
| parent | Make BaseSignatureCreator a pure interface (diff) | |
| download | discoin-be678312102ed9bee66738c4721df1343518e3ea.tar.xz discoin-be678312102ed9bee66738c4721df1343518e3ea.zip | |
Make DummySignatureCreator a singleton
Diffstat (limited to 'src/wallet/wallet.cpp')
| -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 a3a4e71f0..3115981de 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 { |