Clarify docs on revocation_pubkey in DynamicP2WSHOutputDescriptor
authorMatt Corallo <git@bluematt.me>
Mon, 8 Feb 2021 17:15:25 +0000 (12:15 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 16 Feb 2021 20:58:02 +0000 (15:58 -0500)
lightning/src/chain/keysinterface.rs

index 6d9a64906453b1904c0d6245ea74325ebfa28e27..706f9d88cd034593763169b06acbdb40c0a274a5 100644 (file)
@@ -54,7 +54,8 @@ pub struct DynamicP2WSHOutputDescriptor {
        pub to_self_delay: u16,
        /// The output which is referenced by the given outpoint
        pub output: TxOut,
-       /// The revocation_pubkey used to derive witnessScript
+       /// The revocation point specific to the commitment transaction which was broadcast. Used to
+       /// derive the witnessScript for this output.
        pub revocation_pubkey: PublicKey,
        /// Arbitrary identification information returned by a call to
        /// `ChannelKeys::channel_keys_id()`. This may be useful in re-deriving keys used in