]> git.bitcoin.ninja Git - rust-lightning/commit
Drop the unused `PaymentKey` type
authorMatt Corallo <git@bluematt.me>
Mon, 27 Nov 2023 18:51:13 +0000 (18:51 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 9 Jan 2024 22:24:59 +0000 (22:24 +0000)
commitc5e3f5fa820a17dc6789db41e3a4a772dc28b068
treedfaac0b494bd5d34a757c37c2b176350bce4df43
parentbc273a293949df9e749bca4ee1d07fa20ffd8fa0
Drop the unused `PaymentKey` type

935a716cc6c4fada075e2b740a70bb1b7b349d49 added new wrappers for the
various channel keys, including a payment_key. However, the
`payment_key` has been unused in lightning since the introduction
(and broad requiring) of the `static_remotekey` feature.

Thus, we simply remove it (and an incredibly stale TODO) here.
lightning/src/ln/channel.rs
lightning/src/ln/channel_keys.rs