aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-02-08 14:00:14 -0500
committerMatt Corallo <git@bluematt.me>2017-04-07 11:53:43 +0200
commitacad82f375615d8d238c7d819a48acd7900329f2 (patch)
tree705a6b7b1c51216fb29d60891762dc99a416be1a /src/rpc/mining.cpp
parente6d5e6cbbef3dca1bc9dce095124f7b79d01a54a (diff)
Add override to functions using CValidationInterface methods
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r--src/rpc/mining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 7e5f0d608e..cf7ca650b9 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -710,7 +710,7 @@ public:
submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {}
protected:
- virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) {
+ void BlockChecked(const CBlock& block, const CValidationState& stateIn) override {
if (block.GetHash() != hash)
return;
found = true;