Skip to content

3541 dev followups #12

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

Closed
wants to merge 6 commits into from
Closed

3541 dev followups #12

wants to merge 6 commits into from

Conversation

carlaKC
Copy link
Owner

@carlaKC carlaKC commented Apr 26, 2025

No description provided.

@carlaKC carlaKC force-pushed the 3541-dev-followups branch 2 times, most recently from d105761 to 87edf58 Compare April 29, 2025 12:50
carlaKC added 6 commits May 1, 2025 08:46
In some places where we have LocalHTLCFailureReason, the string we're
passing around is redundant.

This isn't the case in all uses of LocalHTLCFailureReason, for example
InboundHTLCError provides additional information about payload and
blinding related errors that isn't captured in LocalHTLCFailureReason.
In these cases we keep the error string, tolerating some duplication.
These error codes were removed from the specification seven years ago
to prevent probing, so we don't need to handle these cases anymore.
De-duplicate use of u16 failure codes by using a macro that will
match against each variant's failure_code instead.
@carlaKC carlaKC force-pushed the 3541-dev-followups branch from 87edf58 to 559a3c0 Compare May 1, 2025 13:11
@carlaKC carlaKC closed this May 1, 2025
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.

1 participant