Commit 1969b48
committed
Note that abandon_payment does not persist the state update in docs
If a user calls `abandon_payment`, then restarts without freshly
persisting the `ChannelManager`, the payment will still be pending
on restart. This was unclear from the docs (and the docs seemed to
imply otherwise). Because this doesn't materially impact the
usability of `abandon_payment` (users shouldn't be called
`retry_payment` on an abandoned one anyway), we simply document it.
Fixes #1804.1 parent d9d4611 commit 1969b48
File tree
2 files changed
+14
-4
lines changed- lightning/src/ln
- pending_changelog
2 files changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2761 | 2761 | | |
2762 | 2762 | | |
2763 | 2763 | | |
2764 | | - | |
2765 | | - | |
2766 | | - | |
2767 | | - | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
2768 | 2767 | | |
2769 | 2768 | | |
2770 | 2769 | | |
2771 | 2770 | | |
2772 | 2771 | | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
2773 | 2779 | | |
2774 | 2780 | | |
2775 | 2781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments