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

Gateway balance fix #535

Merged
merged 3 commits into from
Mar 8, 2023
Merged

Conversation

cindyyan317
Copy link
Collaborator

@cindyyan317 cindyyan317 commented Mar 7, 2023

For #464
Refer to XRPLF/rippled#4355
Clio has the similar issue as well. The sum overflows the STAmount range.
The fix is to send a flag to indicate there is overflow and keep the last valid sum. (same as rippled)

Before fix:
Screenshot 2023-03-07 at 14 16 11

After fix:
Screenshot 2023-03-07 at 14 15 35

@cindyyan317 cindyyan317 requested a review from godexsoft March 7, 2023 14:17
@cindyyan317 cindyyan317 marked this pull request as ready for review March 7, 2023 14:17
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.

@cindyyan317 cindyyan317 merged commit 7a819f4 into XRPLF:develop Mar 8, 2023
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