Skip to content

Commit f537abd

Browse files
committed
Add docs to Metadata::without_keys
1 parent 9d46340 commit f537abd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/offers/signer.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ impl Metadata {
106106
}
107107
}
108108

109+
/// Indicates that signing keys should not be derived when calling [`derive_from`]. Only
110+
/// applicable to state [`Metadata::DerivedSigningPubkey`]; calling this in other states will
111+
/// result in no change.
112+
///
113+
/// [`derive_from`]: Self::derive_from
109114
pub fn without_keys(self) -> Self {
110115
match self {
111116
Metadata::Bytes(_) => self,

0 commit comments

Comments
 (0)