return no offers when an owner directory is not found (#176)

This commit is contained in:
Nathan Nichols
2022-06-15 16:19:08 -05:00
committed by GitHub
parent 3d3b8e91b6
commit fa8405df83
6 changed files with 29 additions and 4 deletions

View File

@@ -764,7 +764,7 @@ traverseOwnedNodes(
backend.fetchLedgerObject(currentIndex.key, sequence, yield);
if (!ownerDir)
return Status(ripple::rpcACT_NOT_FOUND);
break;
ripple::SerialIter it{ownerDir->data(), ownerDir->size()};
ripple::SLE sle{it, currentIndex.key};