forked from lightningdevkit/rust-lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Bolt12CreationError
error type to ChannelManager
Introduced the Bolt12CreationError error type for bolt12 errors that occur outside the builder. This error type is used in the ChannelManger functions. I moved, DuplicatePayment, and InsufficientLiquidity out of Bolt12SemanticsErrors into the new error type as well. Additionally, I updated the code to replace occurrences where we replaced Bolt12SemanticsErrors with the new Bolt12CreationError type throughout the relevant files.
- Loading branch information
Showing
3 changed files
with
51 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters