-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightningd: refactor payment failed.
Don't assume we have an outgoing HTLC at this level. Note that previously we didn't save the failed onion unless it was unparsable: we keep that both for space savings and because our `waitsendpay` logic assumes that when it fetches from the db if there's a failonion it was unparsable! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information
1 parent
c439589
commit ba92a56
Showing
3 changed files
with
62 additions
and
38 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