Commit 3f3976a
committed
Correct
`expect_payment_forwarded` takes a bool to indicate that the
inbound channel on which we received a forwarded payment has been
closed, but then ignores it in favor of looking at the fee in the
event. While this is generally correct, in cases where we process
an event after a channel was closed, which was generated before a
channel closed this is incorrect.
Instead, we examine the bool we already passed and use that.expect_payment_forwarded upstream channel checking1 parent 3aeda61 commit 3f3976a
File tree
3 files changed
+4
-3
lines changed- lightning/src/ln
3 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1948 | 1948 | | |
1949 | 1949 | | |
1950 | 1950 | | |
1951 | | - | |
| 1951 | + | |
1952 | 1952 | | |
1953 | 1953 | | |
1954 | 1954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8635 | 8635 | | |
8636 | 8636 | | |
8637 | 8637 | | |
8638 | | - | |
| 8638 | + | |
| 8639 | + | |
8639 | 8640 | | |
8640 | 8641 | | |
8641 | 8642 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
| 558 | + | |
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| |||
0 commit comments