This commit is contained in:
jl777
2017-03-13 11:06:19 +02:00
parent 4b6162f029
commit 50c490cb23

View File

@@ -3412,6 +3412,8 @@ bool ProcessNewBlock(int32_t height,CValidationState &state, CNode* pfrom, CBloc
bool fRequested = MarkBlockAsReceived(pblock->GetHash());
fRequested |= fForceProcessing;
if (!checked) {
if ( pfrom != 0 )
Misbehaving(pfrom->GetId(), 20);
return error("%s: CheckBlock FAILED", __func__);
}