File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -624,13 +624,9 @@ pub trait NodeSigner {
624
624
625
625
/// Signs a BOLT 12 message.
626
626
///
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.
631
628
///
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
634
630
fn sign_bolt12_message (
635
631
& self , message : & TaggedBytes , metadata : & [ u8 ]
636
632
) -> Result < schnorr:: Signature , ( ) > ;
You can’t perform that action at this time.
0 commit comments