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/sign.h | |
parent | 190b8d2dcf2f977b57298cc19be9974bfa83a071 (diff) |
Make DummySignatureCreator a singleton
Diffstat (limited to 'src/script/sign.h')
-rw-r--r-- | src/script/sign.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/script/sign.h b/src/script/sign.h index 88d769a84a..cf3651c1de 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -58,11 +58,7 @@ public: }; /** A signature creator that just produces 72-byte empty signatures. */ -class DummySignatureCreator : public BaseSignatureCreator { -public: - const BaseSignatureChecker& Checker() const override; - bool CreateSig(const SigningProvider& provider, std::vector<unsigned char>& vchSig, const CKeyID& keyid, const CScript& scriptCode, SigVersion sigversion) const override; -}; +extern const BaseSignatureCreator& DUMMY_SIGNATURE_CREATOR; struct SignatureData { CScript scriptSig; |