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

Fix max uint64_t errors when contributing to a reserved spot #1278

Merged
merged 1 commit into from Sep 25, 2020

Conversation

jagerman
Copy link
Member

When trying to fill a reserved spot of a service node that is fully reserved the wallet is getting back the UINT64_MAX error code value for min_contrib_total, but not properly ignoring it resulting in:

Error: You must contribute at least 18446744073.709551615 loki to become a contributor for this service node.

even when you are trying to fill your own reserved, unfilled spot.

Fix it to recognize (and ignore) the error value when filling a reserved spot.

When trying to fill a reserved spot of a service node that is fully
reserved the wallet is getting back the UINT64_MAX error code value for
min_contrib_total, but not properly handling it resulting in:

Error: You must contribute at least 18446744073.709551615 loki to become a contributor for this service node.

Fix it to recognize the error value when filling a reserved spot.
@Doy-lee Doy-lee merged commit 9eb31d9 into oxen-io:dev Sep 25, 2020
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.

None yet

2 participants