Skip to content
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

LiFi transaction JSON response must be sanitized #37930

Closed
onyb opened this issue Apr 29, 2024 · 0 comments · Fixed by brave/brave-core#23315
Closed

LiFi transaction JSON response must be sanitized #37930

onyb opened this issue Apr 29, 2024 · 0 comments · Fixed by brave/brave-core#23315
Assignees
Labels

Comments

@onyb
Copy link
Member

onyb commented Apr 29, 2024

LiFiTransactionResponse contains a numeric chainId field currently. The recommended way to parse JSON responses is to first convert all numeric values to strings and then parse the fields accordingly.

Ref: brave/brave-core@cb383f6#r1548845510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants