fix syntax

This commit is contained in:
jl777
2016-09-14 05:17:26 -03:00
parent 1fb0786301
commit 93b5c955d4
2 changed files with 4 additions and 2 deletions

View File

@@ -5079,7 +5079,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
else
{
if ( komodo_checkmsg(pfrom->addr.ToString(),msg.vRecv.begin(),hdr.nMessageSize) < 0 )
if ( komodo_checkmsg(hdr.GetCommand(),pfrom->addr.ToString(),msg.vRecv.begin(),hdr.nMessageSize) < 0 )
LogPrint("net", "Unknown command \"%s\" from peer=%d\n", SanitizeString(strCommand),pfrom->id);
}