Commit 449eaae
committed
fixup! Expose per-channel features in ChannelDetails
Make `outbound_htlc_minimum_msat` an `Option<u64>`
This field is `None` before receiving `OpenChannel`/`AcceptChannel`,
so expecting it could panic when `list_channels` is called during
early channel negotiation. Pass through the `Option` directly
instead.
Also re-export `ChannelCounterparty` in `lib.rs` so Rust consumers
can name the type.1 parent fdbd4ff commit 449eaae
2 files changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
450 | 453 | | |
451 | 454 | | |
452 | 455 | | |
| |||
696 | 699 | | |
697 | 700 | | |
698 | 701 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
| 702 | + | |
705 | 703 | | |
706 | 704 | | |
707 | 705 | | |
| |||
0 commit comments