aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-07-17 13:52:11 +0200
committerWladimir J. van der Laan <[email protected]>2014-07-17 13:57:51 +0200
commitea8c288a3570131379a9365bb818028722407bb2 (patch)
tree16fbd379d6e6c358d08f09e7d8b97aedbb6e26b9 /src/main.cpp
parentMerge pull request #4534 (diff)
parentFix semantic typo in state.CorruptionPossible check (diff)
downloaddiscoin-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.cpp2
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;