]> git.bitcoin.ninja Git - rust-lightning/commit
Use `[u8; 32]` rather than `Hmac<Sha256>` for simplicity
authorMatt Corallo <git@bluematt.me>
Mon, 26 Aug 2024 18:28:50 +0000 (18:28 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 14 Oct 2024 19:15:11 +0000 (19:15 +0000)
commitd23d57d9bd11f4f955e4b726efc9d5b1bc005aca
tree6f23b2fbc21d42ff768bdf4b258218655640017c
parent3f1a9b1c934ef4f616b99148564c8e5c99f7e35c
Use `[u8; 32]` rather than `Hmac<Sha256>` for simplicity

Mapping an `Hmac<Sha256>` would require somewhat custom logic as
we'd have to behave differently based on generic parameters, so its
simplest to just swap it to a `[u8; 32]` instead.
lightning/src/blinded_path/message.rs
lightning/src/ln/channelmanager.rs