Commit b34fb66
committed
Do not record unilateral closes as payments
Unilateral closes are not onchain payments. The real on-chain credits to
our onchain balance after a unilateral close happen on `Sweep` and
`Claim` transactions.
Also, `UnilateralClose` payments previously never graduated from the
`Pending` state, as no BDK events are emitted when these transactions
confirm.
Co-Authored-By: HAL 90001 parent 1cc60c8 commit b34fb66
2 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1183 | 1183 | | |
1184 | 1184 | | |
1185 | 1185 | | |
| 1186 | + | |
1186 | 1187 | | |
1187 | | - | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
458 | | - | |
| 457 | + | |
| 458 | + | |
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
1710 | | - | |
| 1710 | + | |
1711 | 1711 | | |
| 1712 | + | |
1712 | 1713 | | |
1713 | | - | |
| 1714 | + | |
1714 | 1715 | | |
1715 | 1716 | | |
1716 | 1717 | | |
| |||
1720 | 1721 | | |
1721 | 1722 | | |
1722 | 1723 | | |
| 1724 | + | |
1723 | 1725 | | |
1724 | 1726 | | |
1725 | 1727 | | |
| |||
0 commit comments