Navigation Menu

Skip to content

Commit

Permalink
net: fix missing jump line in "Oversized message from peer.." error.
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Jun 28, 2021
1 parent 0edfce5 commit 55a37b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.cpp
Expand Up @@ -706,7 +706,7 @@ bool CNode::ReceiveMsgBytes(const char* pch, unsigned int nBytes, bool& complete
return false;

if (msg.in_data && msg.hdr.nMessageSize > MAX_PROTOCOL_MESSAGE_LENGTH) {
LogPrint(BCLog::NET, "Oversized message from peer=%i, disconnecting", GetId());
LogPrint(BCLog::NET, "Oversized message from peer=%i, disconnecting\n", GetId());
return false;
}

Expand Down

0 comments on commit 55a37b5

Please sign in to comment.