Small fix.

This commit is contained in:
JoelKatz
2013-04-22 11:15:07 -07:00
parent aeccecb578
commit 905bc84c94

View File

@@ -1237,13 +1237,13 @@ void Peer::recvGetObjectByHash(const boost::shared_ptr<ripple::TMGetObjectByHash
{ // this is a reply
if (packet.type() == ripple::TMGetObjectByHash::otFETCH_PACK)
theApp->getOPs().gotFetchPack();
uint32 pLSeq = 0;
bool pLDo = true;
for (int i = 0; i < packet.objects_size(); ++i)
{
const ripple::TMIndexedObject& obj = packet.objects(i);
if (obj.has_hash() && (obj.hash().size() == (256/8)))
{
uint32 pLSeq = 0;
bool pLDo = true;
if (obj.has_ledgerseq())
{