Clarify docs on payment_point slightly
authorMatt Corallo <git@bluematt.me>
Mon, 14 Sep 2020 19:52:02 +0000 (15:52 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 16 Sep 2020 14:50:54 +0000 (10:50 -0400)
lightning/src/ln/chan_utils.rs

index 89f39ed8ff8c68949d8ae39300e3d8f381ffbf97..8133c1a59ca0aa924237f1b5c9961d8638a3ca1e 100644 (file)
@@ -349,9 +349,9 @@ pub struct ChannelPublicKeys {
        /// counterparty to create a secret which the counterparty can reveal to revoke previous
        /// states.
        pub revocation_basepoint: PublicKey,
-       /// The public key which receives an immediately spendable primary channel balance in
-       /// a broadcaster's commitment transactions. This key is static across every commitment
-       /// transaction.
+       /// The public key on which the non-broadcaster (ie the countersignatory) receives an immediately
+       /// spendable primary channel balance on the broadcaster's commitment transaction. 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