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

renepay: bugfix: read groupids as u64 #7979

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Lagrang3
Copy link
Collaborator

@Lagrang3 Lagrang3 commented Jan 7, 2025

Allow renepay to read group ids from listsenpay with values that fit into u64 integer type.
Previously renepay was using a mixture of u32 and u64 types to handle group ids.

Changelog-Fixed: renepay: read groupids as u64 integers.

Fixes #7968

Changelog-Fixed: renepay: read groupids as u64 integers.

Signed-off-by: Lagrang3 <[email protected]>
Change functions json_pay and json_paystatus to json_renepay
and json_renepaystatus to match the conventional naming.
This is helpful for grep searches.

Changelog-None

Signed-off-by: Lagrang3 <[email protected]>
Searches the first unused groupid and uses that number for the current
payment attempt.
We previously used the highest value of used groupid + 1, which breaks
in a few corner cases.

Changelog-None

Signed-off-by: Lagrang3 <[email protected]>
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.

renepay crashes after retrying an xpay payment
1 participant