Fixs #609 #610 #611
This commit is contained in:
cyan317
2023-05-24 15:38:27 +01:00
committed by GitHub
parent aace437245
commit c50174235f
2 changed files with 7 additions and 10 deletions

View File

@@ -706,8 +706,8 @@ traverseOwnedNodes(
if (auto const& indexes = sle.getFieldV256(ripple::sfIndexes);
std::find(std::begin(indexes), std::end(indexes), hexMarker) == std::end(indexes))
{
// result in empty dataset
return AccountCursor({beast::zero, 0});
// the index specified by marker is not in the page specified by marker
return Status(ripple::rpcINVALID_PARAMS, "Invalid marker");
}
currentIndex = hintIndex;