From 8dbadd1045bcc3247badb03e07bf2c1f3ae4e408 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 8 Feb 2021 12:15:25 -0500 Subject: [PATCH] Clarify docs on revocation_pubkey in DynamicP2WSHOutputDescriptor --- lightning/src/chain/keysinterface.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lightning/src/chain/keysinterface.rs b/lightning/src/chain/keysinterface.rs index 6d9a6490..706f9d88 100644 --- a/lightning/src/chain/keysinterface.rs +++ b/lightning/src/chain/keysinterface.rs @@ -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 -- 2.30.2