Fixes #626
This commit is contained in:
cyan317
2023-05-05 12:55:14 +01:00
committed by GitHub
parent d7d5d61747
commit 6bc2ec745f
8 changed files with 36 additions and 22 deletions

View File

@@ -90,6 +90,9 @@ AccountChannelsHandler::process(AccountChannelsHandler::Input input, Context con
auto const next = ngTraverseOwnedNodes(
*sharedPtrBackend_, *accountID, lgrInfo.seq, input.limit, input.marker, ctx.yield, addToResponse);
if (auto status = std::get_if<Status>(&next))
return Error{*status};
response.account = input.account;
response.limit = input.limit;
response.ledgerHash = ripple::strHex(lgrInfo.hash);