Browse Source

Merge pull request #3316

106f133 Fix uninitialized variable added in b33b9a6fe (theuni)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
03b6a1cee4
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/main.h

2
src/main.h

@ -937,7 +937,7 @@ private: @@ -937,7 +937,7 @@ private:
unsigned char chRejectCode;
bool corruptionPossible;
public:
CValidationState() : mode(MODE_VALID), nDoS(0) {}
CValidationState() : mode(MODE_VALID), nDoS(0), corruptionPossible(false) {}
bool DoS(int level, bool ret = false,
unsigned char chRejectCodeIn=0, std::string strRejectReasonIn="",
bool corruptionIn=false) {

Loading…
Cancel
Save