Skip to content

Erroneous failure codes, replace PERM|7 by UPDATE|7 #49

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

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

ariard
Copy link

@ariard ariard commented Jul 18, 2018

After looking on BOLT 4 and c-lightning, it seems to me that the exact failure code is temporary_channel_failure encoded by UPDATE|7, PERM|7 doesn't exist yet ?

Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

Good catch! Might be worth adding named constants for this stuff so we don't have similar copy-paste errors slip in in the future.

@TheBlueMatt TheBlueMatt merged commit 73932d7 into lightningdevkit:master Jul 18, 2018
@ariard ariard deleted the bad_failure_codes branch July 20, 2018 00:57
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