net: Ignore notfound
P2P messages
This commit is contained in:
parent
bbcb8fd884
commit
5c9e49d12c
1 changed files with 5 additions and 0 deletions
|
@ -6145,6 +6145,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (strCommand == NetMsgType::NOTFOUND) {
|
||||||
|
// We do not care about the NOTFOUND message, but logging an Unknown Command
|
||||||
|
// message would be undesirable as we transmit it ourselves.
|
||||||
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
// Ignore unknown commands for extensibility
|
// Ignore unknown commands for extensibility
|
||||||
LogPrint("net", "Unknown command \"%s\" from peer=%d\n", SanitizeString(strCommand), pfrom->id);
|
LogPrint("net", "Unknown command \"%s\" from peer=%d\n", SanitizeString(strCommand), pfrom->id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue