mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
More verbose logging of invalid node requests.
This commit is contained in:
@@ -1608,7 +1608,7 @@ void Peer::recvGetLedger(ripple::TMGetLedger& packet)
|
||||
SHAMapNode mn(packet.nodeids(i).data(), packet.nodeids(i).size());
|
||||
if(!mn.isValid())
|
||||
{
|
||||
cLog(lsWARNING) << "Request for invalid node";
|
||||
cLog(lsWARNING) << "Request for invalid node: " << logMe;
|
||||
punishPeer(LT_InvalidRequest);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user