Commit 7843a8d
committed
Store
In `receive_via_jit_channel_inner`, insert a
`PaymentMetadataKind::LSPFeeLimits` entry into the
`PaymentMetadataStore` so JIT channel fee limits are persisted
independently of the `PaymentStore` entry.
In the `PaymentClaimable` event handler, add a fallback path that
checks the metadata store for LSP fee limits when the `PaymentKind`
doesn't carry them directly.
Generated with the assistance of AI tools.
Co-Authored-By: HAL 9000LSPFeeLimits in metadata store for JIT channel payments1 parent 8ee0d43 commit 7843a8d
2 files changed
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
716 | 730 | | |
717 | 731 | | |
718 | 732 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
734 | 737 | | |
735 | 738 | | |
736 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
737 | 750 | | |
738 | 751 | | |
739 | 752 | | |
| |||
0 commit comments