diff --git a/src/main.cpp b/src/main.cpp index 2101efe61..bed13eb46 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3938,7 +3938,7 @@ bool ProcessNewBlock(int32_t height,CValidationState &state, CNode* pfrom, CBloc mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId(); } CheckBlockIndex(); - if (!ret && 0) + if (!ret) return error("%s: AcceptBlock FAILED", __func__); }