aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/signature_checker.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-07-18 20:27:56 +0200
committerJon Atack <jon@atack.com>2020-07-22 05:27:13 +0200
commitc0f09c2c9deaec4cfb35ea587363e6301dd17b88 (patch)
treeb8eef39fd4f47828315d928c78b7956ef7cc40e4 /src/test/fuzz/signature_checker.cpp
parent090d87716074434bdc6c7656ec44d049197a793a (diff)
fuzz: add missing overrides to signature_checker
and also - add missing parentheses in fuzz/scriptnum_ops.cpp - remove useless unsigned int conditional in fuzz/script.cpp These changes fix 5 compile warnings in gcc 10.
Diffstat (limited to 'src/test/fuzz/signature_checker.cpp')
-rw-r--r--src/test/fuzz/signature_checker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/fuzz/signature_checker.cpp b/src/test/fuzz/signature_checker.cpp
index 4a8c7a63af..3aaeb66649 100644
--- a/src/test/fuzz/signature_checker.cpp
+++ b/src/test/fuzz/signature_checker.cpp
@@ -28,17 +28,17 @@ public:
{
}
- virtual bool CheckSig(const std::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& scriptCode, SigVersion sigversion) const
+ bool CheckSig(const std::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& scriptCode, SigVersion sigversion) const override
{
return m_fuzzed_data_provider.ConsumeBool();
}
- virtual bool CheckLockTime(const CScriptNum& nLockTime) const
+ bool CheckLockTime(const CScriptNum& nLockTime) const override
{
return m_fuzzed_data_provider.ConsumeBool();
}
- virtual bool CheckSequence(const CScriptNum& nSequence) const
+ bool CheckSequence(const CScriptNum& nSequence) const override
{
return m_fuzzed_data_provider.ConsumeBool();
}