mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-21 04:05:51 +00:00
address comments
This commit is contained in:
@@ -478,12 +478,7 @@ PostgresBackend::fetchBookOffers(
|
||||
for (auto i = 0; i < ledgerEntries.size(); ++i)
|
||||
{
|
||||
if(ledgerEntries[i].size() != 0)
|
||||
{
|
||||
if (objects.size() == limit)
|
||||
return {objects, keys[i], warning};
|
||||
|
||||
objects.push_back(LedgerObject{keys[i], ledgerEntries[i]});
|
||||
}
|
||||
}
|
||||
|
||||
return {objects, {}, warning};
|
||||
|
||||
Reference in New Issue
Block a user