Commit f32a783
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 c36bfe9 commit f32a783
2 files changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
376 | 379 | | |
377 | 380 | | |
378 | 381 | | |
| |||
622 | 625 | | |
623 | 626 | | |
624 | 627 | | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
| 628 | + | |
631 | 629 | | |
632 | 630 | | |
633 | 631 | | |
| |||
0 commit comments