]> git.bitcoin.ninja Git - rust-lightning/commit
Only include `derive_add_tweak` for base key types that use it
authorMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 12:50:58 +0000 (12:50 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 13:00:29 +0000 (13:00 +0000)
commit57c8275e0e5bac59a873581d6bbda048866e1fd0
treeb30575eed74b6c1421d692b62e6dca1613f5ea4e
parentdb31f43b87c89319cd6513b5bbf043bb2b55616e
Only include `derive_add_tweak` for base key types that use it

Specifically `RevocationBasepoint` has a different derivation, so
shouldn't have a `derive_add_tweak` at all. We also use this
opportunity to link to the `from_basepoint` function in the
`derive_add_tweak` docs.
lightning/src/ln/channel_keys.rs