diff --git a/src/main.cpp b/src/main.cpp index 39bbf8ff7..5e2404274 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5090,8 +5090,12 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, } } - else - { + else if (strCommand == "notfound") { + // We do not care about the NOTFOUND message, but logging an Unknown Command + // message would be undesirable as we transmit it ourselves. + } + + else { // Ignore unknown commands for extensibility LogPrint("net", "Unknown command \"%s\" from peer=%d\n", SanitizeString(strCommand), pfrom->id); }