forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pytest: Add test for failcode conversion
We added a conversion of failcodes that do not have sufficient information in faac4b2. That means that a failcode that'd require additional information in order to be a correct error to return in an onion is mapped to a generic one since we can't backfill the information. This tests that the mapping is performed correctly and replicates the situation in ElementsProject#4070
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 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