]> git.bitcoin.ninja Git - rust-lightning/commit
Pull hmac out of OnionHopData.
authorMatt Corallo <git@bluematt.me>
Thu, 26 Dec 2019 18:43:43 +0000 (13:43 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 11 Feb 2020 18:48:56 +0000 (13:48 -0500)
commitc2a47d1b4cb512e6a0358078b6625cb74b518196
treebf5ad34682a24c6e04472e8b1ac18f0fcd558c94
parent36c725fe1c86fba9a43b70a0fdb2d36767fe29bd
Pull hmac out of OnionHopData.

Its a bit awkward to have an hmac field covering the struct that
its in, and there is little difference in removing it, so just pull
it out and use a [u8; 32] where we care about the hmac.
lightning/src/ln/channelmanager.rs
lightning/src/ln/msgs.rs
lightning/src/ln/onion_utils.rs