f fix a few missing payment_base -> payment key things Jeff caught
[rust-lightning] / lightning / src / ln / chan_utils.rs
index 944d92a82932bb009cb754d53f81653ef2d9cacd..842d9619b1f259c6a0a87c58930d447ad315e899 100644 (file)
@@ -277,8 +277,8 @@ pub struct ChannelPublicKeys {
        /// a commitment transaction so that their counterparty can claim all available funds if they
        /// broadcast an old state.
        pub revocation_basepoint: PublicKey,
-       /// The base point which is used (with derive_public_key) to derive a per-commitment payment
-       /// public key which receives immediately-spendable non-HTLC-encumbered funds.
+       /// The public key which receives immediately-spendable non-HTLC-encumbered funds. This key is
+       /// static across every commitment transaction.
        pub payment_point: PublicKey,
        /// The base point which is used (with derive_public_key) to derive a per-commitment payment
        /// public key which receives non-HTLC-encumbered funds which are only available for spending