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

Use Try pattern when reading a PaymentRequest #492

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Conversation

dpad85
Copy link
Member

@dpad85 dpad85 commented Dec 18, 2023

This PR adds support for ACINQ/lightning-kmp#567, making the method parsing invoices use the runTrying pattern matching.

That PR in lightning-kmp also catches encoding issues in invoices, but this has not yet been tested on Phoenix.

@robbiehanson this should not need any changes in iOS since invoice parsing is delegated to the shared layer, but let me know if I'm missing anything!

@dpad85 dpad85 marked this pull request as ready for review December 22, 2023 12:07
@dpad85 dpad85 merged commit 1309372 into master Jan 22, 2024
@dpad85 dpad85 deleted the parse-invoice branch January 22, 2024 10:34
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