Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Return channel open errors to user#1224

Merged
AnthonyRonning merged 2 commits into
masterfrom
ln-chan-errs
Jun 18, 2024
Merged

Return channel open errors to user#1224
AnthonyRonning merged 2 commits into
masterfrom
ln-chan-errs

Conversation

@benthecarman

@benthecarman benthecarman commented Jun 17, 2024

Copy link
Copy Markdown
Collaborator

Closes #1220

Now exposes the channel open error message to the user

image

Comment thread mutiny-core/src/event.rs Outdated
@@ -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
Copy Markdown
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

@AnthonyRonning AnthonyRonning left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator Author

Yeah I assume so

@AnthonyRonning AnthonyRonning merged commit b11e68d into master Jun 18, 2024
@AnthonyRonning AnthonyRonning deleted the ln-chan-errs branch June 18, 2024 13:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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