Don't log a transaction receipt for each peer we get it from.

This commit is contained in:
JoelKatz
2013-05-14 11:00:41 -07:00
parent d1c6b97643
commit 2a82aaa9ef

View File

@@ -866,7 +866,6 @@ static void checkTransaction(Job&, int flags, SerializedTransaction::pointer stx
void Peer::recvTransaction(ripple::TMTransaction& packet)
{
cLog(lsDEBUG) << "Got transaction from peer";
Transaction::pointer tx;
#ifndef TRUST_NETWORK
@@ -890,6 +889,8 @@ void Peer::recvTransaction(ripple::TMTransaction& packet)
if ((flags & SF_RETRY) == 0)
return;
}
cLog(lsDEBUG) << "Got new transaction from peer";
if (mCluster)
flags |= SF_TRUSTED | SF_SIGGOOD;