This commit is contained in:
jl777
2018-04-16 02:21:05 +03:00
parent 07359935eb
commit f6cad5cc70

View File

@@ -3938,7 +3938,7 @@ bool ProcessNewBlock(int32_t height,CValidationState &state, CNode* pfrom, CBloc
mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId();
}
CheckBlockIndex();
if (!ret)
if (!ret && 0)
return error("%s: AcceptBlock FAILED", __func__);
}