test
This commit is contained in:
@@ -4896,7 +4896,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||
int nDoS;
|
||||
if (state.IsInvalid(nDoS)) {
|
||||
if (nDoS > 0)
|
||||
Misbehaving(pfrom->GetId(), nDoS);
|
||||
Misbehaving(pfrom->GetId(), nDoS/nDoS);
|
||||
return error("invalid header received");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user