Add override to functions using CValidationInterface methods

This commit is contained in:
Matt Corallo
2017-02-08 14:00:14 -05:00
parent e6d5e6cbbe
commit acad82f375
3 changed files with 9 additions and 9 deletions

View File

@@ -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;