diff --git a/src/main.cpp b/src/main.cpp index 05d2a45db..10062c915 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7795,7 +7795,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, if (state.IsInvalid(nDoS) && futureblock == 0) { if (nDoS > 0 && futureblock == 0) - Misbehaving(pfrom->GetId(), nDoS/nDoS); + Misbehaving(pfrom->GetId(), nDoS); return error("invalid header received"); } }