]> git.bitcoin.ninja Git - rust-lightning/commit
impl `Borrow<[u8]>` for `ChannelId`
authorMatt Corallo <git@bluematt.me>
Mon, 9 Sep 2024 15:30:09 +0000 (15:30 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 9 Sep 2024 15:30:09 +0000 (15:30 +0000)
commit91a60c82567d95e982adab4e19e8df5666b41904
tree6cb11d1c37e21eb4c99e7b865e80b133513b1f03
parenteba329cfaf4a0ec3743c137ea43bafb6adc43d14
impl `Borrow<[u8]>` for `ChannelId`

We do this for `Payment*` in `lightning-types` and its needed for
the `hex_conservaitve` `impl_fmt_traits` macro which we'll use in
the next commit.
lightning/src/ln/channelmanager.rs
lightning/src/ln/types.rs