Skip to content

Commit

Permalink
rem misbehave that was banning relaying nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
anorakthagreat committed Nov 29, 2019
1 parent 1415c9b commit 39e2ef8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3892,8 +3892,7 @@ bool ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)

else
{
// Ban nodes sending unknown messages or spamming junk after 2 instances
printf(">>> Unrecognized message received: %s ; updating ban score", strCommand.c_str());
printf(">>> Unrecognized message received: %s", strCommand.c_str());
pfrom->Misbehaving(50);
}

Expand Down

0 comments on commit 39e2ef8

Please sign in to comment.