From: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com> Date: Tue, 21 Jun 2022 16:38:57 +0000 (+0100) Subject: Change description of get_node_secret() X-Git-Tag: v0.0.109~7^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=526d38169e21d8691b6ce23e0c90b75eed03b37b;p=rust-lightning Change description of get_node_secret() --- diff --git a/lightning/src/chain/keysinterface.rs b/lightning/src/chain/keysinterface.rs index 33c88cf11..4231d0825 100644 --- a/lightning/src/chain/keysinterface.rs +++ b/lightning/src/chain/keysinterface.rs @@ -397,7 +397,9 @@ pub trait KeysInterface { /// A type which implements Sign which will be returned by get_channel_signer. type Signer : Sign; - /// Get node secret key (aka node_id or network_key) based on the provided [`Recipient`]. + /// Get node secret key based on the provided [`Recipient`]. + /// + /// The node_id/network_key is the public key that corresponds to this secret key. /// /// This method must return the same value each time it is called with a given `Recipient` /// parameter.