-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTID in tx command returns invalidParams on lowercase hex #4776
Comments
Could we just document that the ctid must be in uppercase? |
nit: I noticed under "Actual Result", you have: |
I was planning on documenting the behavior, but case-sensitive hexadecimal is annoying and easy to get wrong/forget. For example, I constructed a CTID partly using Python's re: the "actual result" example, I accidentally pasted the wrong example response (as you noted, it appropriately echoes back what you put in) |
Definitely agree that the error message isn't helpful. I guess the purist in me would prefer that everyone just use uppercase hex for consistency, but I think it should also be fine to be permissive here. |
Issue Description
The
ctid
field of thetx
command, added in #4418, does not work if the given CTID contains lowercase hex.Steps to Reproduce
Send this request to a rippled 1.12 server.
Expected Result
Request should successfully find transaction E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7 like this example. Aside from the ID, the difference is the
e
vsE
in the CTID.Actual Result
Response is an
invalidParams
error message.Environment
rippled 1.12.0 via xrplcluster.com
The text was updated successfully, but these errors were encountered: