diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-17 13:52:11 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-17 13:57:51 +0200 |
| commit | ea8c288a3570131379a9365bb818028722407bb2 (patch) | |
| tree | 16fbd379d6e6c358d08f09e7d8b97aedbb6e26b9 /src/main.cpp | |
| parent | Merge pull request #4534 (diff) | |
| parent | Fix semantic typo in state.CorruptionPossible check (diff) | |
| download | discoin-ea8c288a3570131379a9365bb818028722407bb2.tar.xz discoin-ea8c288a3570131379a9365bb818028722407bb2.zip | |
Merge pull request #4533
43005cf Fix semantic typo in state.CorruptionPossible check (kazcw)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 442feea47..766f0970f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2517,7 +2517,7 @@ bool AcceptBlock(CBlock& block, CValidationState& state, CBlockIndex** ppindex, return false; if (!CheckBlock(block, state)) { - if (state.Invalid() && !state.CorruptionPossible()) { + if (state.IsInvalid() && !state.CorruptionPossible()) { pindex->nStatus |= BLOCK_FAILED_VALID; } return false; |