aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-17 13:52:11 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-17 13:57:51 +0200
commitea8c288a3570131379a9365bb818028722407bb2 (patch)
tree16fbd379d6e6c358d08f09e7d8b97aedbb6e26b9
parent66f3d0679fc787f14738db9685fbc3a9cbfd4ffb (diff)
parent43005cffa394afde08a80b28ac52f7821c96d841 (diff)
Merge pull request #4533
43005cf Fix semantic typo in state.CorruptionPossible check (kazcw)
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 442feea471..766f0970f0 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;