Skip to content

Commit 10071b5

Browse files
Merge pull request #1556 from danielgranhao/2022-06-improve-docs
Clarify description of get_node_secret() method
2 parents c502e8d + 526d381 commit 10071b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/chain/keysinterface.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ pub trait KeysInterface {
397397
/// A type which implements Sign which will be returned by get_channel_signer.
398398
type Signer : Sign;
399399

400-
/// Get node secret key (aka node_id or network_key) based on the provided [`Recipient`].
400+
/// Get node secret key based on the provided [`Recipient`].
401+
///
402+
/// The node_id/network_key is the public key that corresponds to this secret key.
401403
///
402404
/// This method must return the same value each time it is called with a given `Recipient`
403405
/// parameter.

0 commit comments

Comments
 (0)