]> 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>
Sat, 25 Jan 2020 22:12:08 +0000 (17:12 -0500)
commit0b40b0cea4bea3fd47f0123131192600c7a2e757
tree557b954a51840904bc9ed7ef59c6c448c69417bd
parentb3dd229711bc095645ebbc6b291005e7f8c43895
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