Commit aa94d3b
committed
event: store the outpoint when is_manual_broadcast
With [1], it's possible to specify `manual_broadcast` for
the channel funding transaction. When `is_manual_broadcast` is
set to true, the transaction in the `DiscardFunding` event is
replaced with a dummy empty transaction.
This commit checks if `is_manual_broadcast` is true and
stores the funding OutPoint in the DiscardFunding event instead.
[1] #3024
Link: #3164
Suggested-by: TheBlueMatt
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>1 parent b2cdc2c commit aa94d3b
2 files changed
+63
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
53 | 82 | | |
54 | 83 | | |
55 | 84 | | |
| |||
1257 | 1286 | | |
1258 | 1287 | | |
1259 | 1288 | | |
1260 | | - | |
| 1289 | + | |
1261 | 1290 | | |
1262 | 1291 | | |
1263 | 1292 | | |
| |||
1541 | 1570 | | |
1542 | 1571 | | |
1543 | 1572 | | |
1544 | | - | |
| 1573 | + | |
1545 | 1574 | | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
1546 | 1581 | | |
1547 | 1582 | | |
1548 | | - | |
| 1583 | + | |
| 1584 | + | |
1549 | 1585 | | |
1550 | 1586 | | |
1551 | 1587 | | |
| |||
1924 | 1960 | | |
1925 | 1961 | | |
1926 | 1962 | | |
1927 | | - | |
| 1963 | + | |
| 1964 | + | |
1928 | 1965 | | |
1929 | 1966 | | |
1930 | | - | |
| 1967 | + | |
| 1968 | + | |
1931 | 1969 | | |
1932 | | - | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
1933 | 1977 | | |
1934 | 1978 | | |
1935 | 1979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
3509 | 3510 | | |
3510 | 3511 | | |
3511 | 3512 | | |
| 3513 | + | |
3512 | 3514 | | |
3513 | 3515 | | |
3514 | 3516 | | |
| |||
3518 | 3520 | | |
3519 | 3521 | | |
3520 | 3522 | | |
| 3523 | + | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
3521 | 3527 | | |
3522 | 3528 | | |
3523 | 3529 | | |
| |||
3541 | 3547 | | |
3542 | 3548 | | |
3543 | 3549 | | |
3544 | | - | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
3545 | 3556 | | |
3546 | | - | |
| 3557 | + | |
3547 | 3558 | | |
3548 | 3559 | | |
3549 | 3560 | | |
| |||
0 commit comments