aboutsummaryrefslogtreecommitdiff
path: root/src/consensus
diff options
context:
space:
mode:
Diffstat (limited to 'src/consensus')
-rw-r--r--src/consensus/validation.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/consensus/validation.h b/src/consensus/validation.h
index 36142e1e41..163b17e629 100644
--- a/src/consensus/validation.h
+++ b/src/consensus/validation.h
@@ -71,13 +71,6 @@ public:
bool IsError() const {
return mode == MODE_ERROR;
}
- bool IsInvalid(int &nDoSOut) const {
- if (IsInvalid()) {
- nDoSOut = nDoS;
- return true;
- }
- return false;
- }
bool CorruptionPossible() const {
return corruptionPossible;
}