Cleanups and timing adjustments.

This commit is contained in:
JoelKatz
2013-01-28 02:32:57 -08:00
parent 635aa35d49
commit 0cb1a1d84b
2 changed files with 8 additions and 3 deletions

View File

@@ -1176,7 +1176,10 @@ void Peer::recvGetObjectByHash(ripple::TMGetObjectByHash& packet)
punishPeer(LT_BadData);
}
else
{
cLog(lsDEBUG) << "Got wanted hash " << hash;
theApp->getHashedObjectStore().store(type, seq, data, hash);
}
}
else
cLog(lsWARNING) << "Received unwanted hash " << getIP() << " " << hash;