mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge pull request #3316
106f133Fix uninitialized variable added inb33b9a6fe(theuni)
This commit is contained in:
commit
03b6a1cee4
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue