diff options
Diffstat (limited to 'src/consensus')
-rw-r--r-- | src/consensus/validation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/consensus/validation.h b/src/consensus/validation.h index f2e2c3585a..36142e1e41 100644 --- a/src/consensus/validation.h +++ b/src/consensus/validation.h @@ -84,6 +84,7 @@ public: void SetCorruptionPossible() { corruptionPossible = true; } + int GetDoS(void) const { return nDoS; } unsigned int GetRejectCode() const { return chRejectCode; } std::string GetRejectReason() const { return strRejectReason; } std::string GetDebugMessage() const { return strDebugMessage; } |