Skip to content

Commit ea8c288

Browse files
committed
Merge pull request #4533
43005cf Fix semantic typo in state.CorruptionPossible check (kazcw)
2 parents 66f3d06 + 43005cf commit ea8c288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2517,7 +2517,7 @@ bool AcceptBlock(CBlock& block, CValidationState& state, CBlockIndex** ppindex,
25172517
return false;
25182518

25192519
if (!CheckBlock(block, state)) {
2520-
if (state.Invalid() && !state.CorruptionPossible()) {
2520+
if (state.IsInvalid() && !state.CorruptionPossible()) {
25212521
pindex->nStatus |= BLOCK_FAILED_VALID;
25222522
}
25232523
return false;

0 commit comments

Comments
 (0)