diff options
author | Matt Corallo <git@bluematt.me> | 2017-02-08 14:00:14 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-04-07 11:53:43 +0200 |
commit | acad82f375615d8d238c7d819a48acd7900329f2 (patch) | |
tree | 705a6b7b1c51216fb29d60891762dc99a416be1a /src/rpc/mining.cpp | |
parent | e6d5e6cbbef3dca1bc9dce095124f7b79d01a54a (diff) |
Add override to functions using CValidationInterface methods
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r-- | src/rpc/mining.cpp | 2 |
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; |