Add override to functions using CValidationInterface methods
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user