Commit 76d13e2
committed
Send peers error messages for failures due to invalid batch funding
If we fail to fund a batch open we'll force-close all channels in
the batch, however would previously fail to send error messages to
our peers for any channels we were due to test after the one that
failed.
This commit fixes that issue, sending the required error messages
to allow our peers to clean up their state.1 parent 46b22a2 commit 76d13e2
File tree
3 files changed
+23
-14
lines changed- lightning/src/ln
3 files changed
+23
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4726 | 4726 | | |
4727 | 4727 | | |
4728 | 4728 | | |
4729 | | - | |
4730 | | - | |
| 4729 | + | |
| 4730 | + | |
4731 | 4731 | | |
4732 | 4732 | | |
4733 | 4733 | | |
| 4734 | + | |
| 4735 | + | |
| 4736 | + | |
| 4737 | + | |
| 4738 | + | |
| 4739 | + | |
| 4740 | + | |
| 4741 | + | |
| 4742 | + | |
4734 | 4743 | | |
4735 | 4744 | | |
4736 | 4745 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10110 | 10110 | | |
10111 | 10111 | | |
10112 | 10112 | | |
10113 | | - | |
10114 | | - | |
10115 | | - | |
10116 | | - | |
10117 | | - | |
10118 | | - | |
10119 | | - | |
10120 | | - | |
| 10113 | + | |
| 10114 | + | |
| 10115 | + | |
10121 | 10116 | | |
10122 | 10117 | | |
10123 | 10118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
| 1433 | + | |
1434 | 1434 | | |
1435 | 1435 | | |
1436 | | - | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
1437 | 1442 | | |
1438 | 1443 | | |
1439 | 1444 | | |
1440 | 1445 | | |
1441 | | - | |
1442 | | - | |
| 1446 | + | |
| 1447 | + | |
1443 | 1448 | | |
1444 | 1449 | | |
1445 | 1450 | | |
| |||
0 commit comments