diff --git a/src/main.cpp b/src/main.cpp index 4adbc26a5..bd15a6974 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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__); }