Log display name for transactions.

This commit is contained in:
JoelKatz
2013-07-03 08:17:02 -07:00
parent fffdcfe4bf
commit 5b6e9f9f9b

View File

@@ -1117,7 +1117,7 @@ void PeerImp::recvTransaction (protocol::TMTransaction& packet, ScopedLock& Mast
return;
}
WriteLog (lsDEBUG, Peer) << "Got new transaction from peer " << getIP () << " : " << stx->getTransactionID ();
WriteLog (lsDEBUG, Peer) << "Got new transaction from peer " << getDisplayName () << " : " << stx->getTransactionID ();
if (mCluster)
flags |= SF_TRUSTED | SF_SIGGOOD;