]> git.bitcoin.ninja Git - rust-lightning/commitdiff
meta: update docs to reflect the code
authorVincenzo Palazzo <vincenzopalazzodev@gmail.com>
Tue, 9 Jul 2024 10:00:56 +0000 (12:00 +0200)
committerVincenzo Palazzo <vincenzopalazzodev@gmail.com>
Tue, 9 Jul 2024 14:55:38 +0000 (16:55 +0200)
The code documentation is outdated after the commit 935a716cc6c4fada075e2b740a70bb1b7b349d49

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
lightning/src/ln/chan_utils.rs

index b7d3aec39dc125bc2927c780bdb05aee68b29d5b..ffdbfe919a0c4ed243abfc4fd344827ba18e6e64 100644 (file)
@@ -436,7 +436,7 @@ pub struct ChannelPublicKeys {
        /// The public key which is used to sign all commitment transactions, as it appears in the
        /// on-chain channel lock-in 2-of-2 multisig output.
        pub funding_pubkey: PublicKey,
-       /// The base point which is used (with derive_public_revocation_key) to derive per-commitment
+       /// The base point which is used (with [`RevocationKey::from_basepoint`]) to derive per-commitment
        /// revocation keys. This is combined with the per-commitment-secret generated by the
        /// counterparty to create a secret which the counterparty can reveal to revoke previous
        /// states.