mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 19:56:00 +00:00
only return non-deleted object
This commit is contained in:
@@ -138,7 +138,8 @@ doLedgerData(Context const& context)
|
||||
for (size_t i = 0; i < objs.size(); ++i)
|
||||
{
|
||||
auto&& obj = objs[i];
|
||||
results.push_back({std::move(keys[i]), std::move(obj)});
|
||||
if (obj.size())
|
||||
results.push_back({std::move(keys[i]), std::move(obj)});
|
||||
}
|
||||
if (*diffCursor > lgrInfo.seq)
|
||||
response["marker"] = *diffCursor - 1;
|
||||
|
||||
Reference in New Issue
Block a user