Browse Source

Merge pull request #4533

43005cf Fix semantic typo in state.CorruptionPossible check (kazcw)
pull/145/head
Wladimir J. van der Laan 10 years ago
parent
commit
ea8c288a35
No known key found for this signature in database GPG Key ID: 74810B012346C9A6
  1. 2
      src/main.cpp

2
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;

Loading…
Cancel
Save