Skip to content

Commit 992e445

Browse files
committed
f - reword docs
1 parent 4d3dd26 commit 992e445

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/offers/merkle.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ pub enum SignError<E> {
7474
/// `metadata` is either the payer or offer metadata, depending on the message type, and may be used
7575
/// by `sign` to derive the signing keys.
7676
///
77-
/// Panics if the underlying TLV stream of `message` is not a well-formed TLV stream containing at
78-
/// least one TLV record.
77+
/// Panics if `message` does not contain a well-formed TLV stream with at least one TLV record.
7978
pub(super) fn sign_message<F, E>(
8079
sign: F, message: TaggedHash, metadata: &[u8], pubkey: PublicKey,
8180
) -> Result<Signature, SignError<E>>

0 commit comments

Comments
 (0)