diff options
author | Jeremy Rubin <j@rubin.io> | 2022-01-19 12:32:06 -0800 |
---|---|---|
committer | Jeremy Rubin <j@rubin.io> | 2022-01-19 15:21:52 -0800 |
commit | cfa575266bc0198574a82e8e386040e969b05dea (patch) | |
tree | 35dc3c39610e4c4ef1c87487d64140cee6dc718d /src/script/sign.cpp | |
parent | 807169e10b4a18324356ed6ee4d69587b96a7c70 (diff) | |
download | bitcoin-cfa575266bc0198574a82e8e386040e969b05dea.tar.xz |
Optimize CHECKSIGADD Script Validation
Diffstat (limited to 'src/script/sign.cpp')
-rw-r--r-- | src/script/sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 8e08448480..371a937bc8 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -542,7 +542,7 @@ class DummySignatureChecker final : public BaseSignatureChecker public: DummySignatureChecker() {} bool CheckECDSASignature(const std::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& scriptCode, SigVersion sigversion) const override { return true; } - bool CheckSchnorrSignature(Span<const unsigned char> sig, Span<const unsigned char> pubkey, SigVersion sigversion, const ScriptExecutionData& execdata, ScriptError* serror) const override { return true; } + bool CheckSchnorrSignature(Span<const unsigned char> sig, Span<const unsigned char> pubkey, SigVersion sigversion, ScriptExecutionData& execdata, ScriptError* serror) const override { return true; } }; const DummySignatureChecker DUMMY_CHECKER; |