Fix nft_history error to match rippled (#635)

Fixes #633
This commit is contained in:
Alex Kremer
2023-05-15 11:28:24 +01:00
committed by GitHub
parent c8029255ba
commit d94fe4e7ab
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ NFTHistoryHandler::process(NFTHistoryHandler::Input input, Context const& ctx) c
}
if (minIndex > maxIndex)
return Error{Status{RippledError::rpcINVALID_PARAMS, "invalidIndex"}};
return Error{Status{RippledError::rpcLGR_IDXS_INVALID}};
if (input.ledgerHash || input.ledgerIndex)
{