mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 05:25:55 +00:00
Log peer IP if possible.
This commit is contained in:
@@ -915,7 +915,7 @@ static void checkPropose(Job& job, boost::shared_ptr<ripple::TMProposeSet> packe
|
||||
{
|
||||
Peer::pointer p = peer.lock();
|
||||
cLog(lsWARNING) << "proposal with previous ledger fails signature check: " <<
|
||||
p ? p->getIP() : "???";
|
||||
(p ? p->getIP() : std::string("???"));
|
||||
Peer::punishPeer(peer, LT_InvalidSignature);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user