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

Correct the type of offerId #303

Merged
merged 2 commits into from
Oct 22, 2020

Conversation

overcat
Copy link
Member

@overcat overcat commented Oct 22, 2020

Fixes #302

@overcat
Copy link
Member Author

overcat commented Oct 22, 2020

I don't know why the CI running result is not displayed, but all tests have passed locally, I believe this is an internal error of CircleCI.

Copy link
Contributor

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

This looks like the correct fix to me. IDs in other response types use Long rather than Integer and I'm guessing we just missed this case whenever the IDs were expanded to be 64 bit.

I'm not an expert on this change though and so I don't think this should be merged until someone from the @stellar/horizon-committers can confirm that we're not missing something here.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Leigh McCulloch <[email protected]>
Copy link
Contributor

@bartekn bartekn left a comment

Choose a reason for hiding this comment

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

LGTM, looks like we missed it when upgrading to Protocol 11.

@bartekn bartekn merged commit 4e54516 into lightsail-network:master Oct 22, 2020
@overcat overcat deleted the dev-issue-302 branch October 23, 2020 01:10
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.

Offer Operation: Exception shadow.com.google.gson.JsonSyntaxException: java.lang.NumberFormatException
3 participants