This commit is contained in:
jl777
2018-04-16 01:24:58 +03:00
parent 9142a36868
commit 04a1f0bbc3

View File

@@ -3916,9 +3916,9 @@ bool ProcessNewBlock(int32_t height,CValidationState &state, CNode* pfrom, CBloc
{
if ( pfrom != 0 )
{
//Misbehaving(pfrom->GetId(), 1);
Misbehaving(pfrom->GetId(), 1);
}
return error("%s: CheckBlock FAILED", __func__);
return false; // prevent flooding debug.log error("%s: CheckBlock FAILED", __func__);
}
// Store to disk