mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Small fix.
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user