Skip to content

Commit 1aeee45

Browse files
committed
f - replace NodeSigner::sign_bolt12_message docs
1 parent 6318cde commit 1aeee45

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lightning/src/sign/mod.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -624,13 +624,9 @@ pub trait NodeSigner {
624624

625625
/// Signs a BOLT 12 message.
626626
///
627-
/// The message is given in `bytes` as a serialized TLV stream with `tag` identifying the
628-
/// message type as defined in the BOLT 12 spec's "Signature Calculation" section. The `digest`
629-
/// is the tagged merkle root to be signed and can be re-calculated using `tag` and `bytes` if
630-
/// blindly signing the digest should be avoided.
627+
/// See [`SignFunction`] for details.
631628
///
632-
/// `metadata` is either the payer or offer metadata, depending on the message type and origin,
633-
/// and may be useful in order to derive the signing keys.
629+
/// [`SignFunction`]: crate::offers::merkle::SignFunction
634630
fn sign_bolt12_message(
635631
&self, message: &TaggedBytes, metadata: &[u8]
636632
) -> Result<schnorr::Signature, ()>;

0 commit comments

Comments
 (0)