]> 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>
Tue, 3 Sep 2024 14:00:24 +0000 (14:00 +0000)
commit03d4eb52edbdfa7c8ead6329f34ee1f3587a0da4
tree2630f8f1c74a460077f350a747ddbebb367470fa
parent020b479da228985dcf94c788b19bae78f8098418
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