Skip to content

Conversation

@officialfrancismendoza
Copy link
Contributor

Issue (#279): Ledger API call with one or more fields specified incorrectly does not return invalidParams
FIx: Add rpcINVALID_PARAMS error code

Note: Upon testing, hit ledgerIndexMalformed error instead of ledgerNotFound. Don't think it's a good idea to downgrade from lgrNotFound to invalidParams (as the error message is less specific), but pushed the PR anyway

godexsoft
godexsoft previously approved these changes Oct 26, 2022
Copy link
Collaborator

@godexsoft godexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@officialfrancismendoza officialfrancismendoza changed the title [FOLDED] Add rpcINVALID_PARAMS error code (#279) Add rpcINVALID_PARAMS error code Oct 31, 2022
godexsoft
godexsoft previously approved these changes Nov 14, 2022
Copy link
Collaborator

@godexsoft godexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@godexsoft godexsoft merged commit c13ac79 into XRPLF:develop Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants