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

Return channel open errors to user #1224

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Return channel open errors to user #1224

merged 2 commits into from
Jun 18, 2024

Conversation

benthecarman
Copy link
Collaborator

@benthecarman benthecarman commented Jun 17, 2024

Closes #1220

Now exposes the channel open error message to the user

image

@@ -524,8 +524,19 @@ impl<S: MutinyStorage> EventHandler<S> {
} => {
// if we still have channel open params, then it was just a failed channel open
// we should not persist this as a closed channel and just delete the channel open params
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i need to edit this comment

Copy link
Contributor

@TonyGiorgio TonyGiorgio left a comment

Choose a reason for hiding this comment

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

awesome. i'm guessing this would work for channel amount too low errors too?

@benthecarman
Copy link
Collaborator Author

Yeah I assume so

@TonyGiorgio TonyGiorgio merged commit b11e68d into master Jun 18, 2024
9 checks passed
@TonyGiorgio TonyGiorgio deleted the ln-chan-errs branch June 18, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Max channel size error messages don't show up
2 participants