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/script/ismine.cpp | |
parent | 190b8d2dcf2f977b57298cc19be9974bfa83a071 (diff) |
Make DummySignatureCreator a singleton
Diffstat (limited to 'src/script/ismine.cpp')
-rw-r--r-- | src/script/ismine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/ismine.cpp b/src/script/ismine.cpp index 3d24009957..b826bcfe20 100644 --- a/src/script/ismine.cpp +++ b/src/script/ismine.cpp @@ -146,7 +146,7 @@ isminetype IsMine(const CKeyStore &keystore, const CScript& scriptPubKey, bool& if (keystore.HaveWatchOnly(scriptPubKey)) { // TODO: This could be optimized some by doing some work after the above solver SignatureData sigs; - return ProduceSignature(keystore, DummySignatureCreator(), scriptPubKey, sigs) ? ISMINE_WATCH_SOLVABLE : ISMINE_WATCH_UNSOLVABLE; + return ProduceSignature(keystore, DUMMY_SIGNATURE_CREATOR, scriptPubKey, sigs) ? ISMINE_WATCH_SOLVABLE : ISMINE_WATCH_UNSOLVABLE; } return ISMINE_NO; } |