Skip to content

Fix max-value overflows in set_max_path_length#3522

Merged
valentinewallace merged 1 commit intolightningdevkit:mainfrom
TheBlueMatt:2025-01-overflow-cltv
Jan 13, 2025
Merged

Fix max-value overflows in set_max_path_length#3522
valentinewallace merged 1 commit intolightningdevkit:mainfrom
TheBlueMatt:2025-01-overflow-cltv

Conversation

@TheBlueMatt
Copy link
Copy Markdown
Collaborator

When either the amount or the max_total_cltv_expiry_delta are set to max-value, set_max_path_length can trigger overflows in build_onion_payloads_callback, leading to debug-panics.

Loading
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