File tree 1 file changed +11
-1
lines changed 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,17 @@ macro_rules! offer_accessors { ($self: ident, $contents: expr) => {
631
631
$contents. supported_quantity( )
632
632
}
633
633
634
- /// The public key used by the recipient to sign invoices.
634
+ /// The public key corresponding to the key used by the recipient to sign invoices.
635
+ /// - If [`Offer::paths`] is empty, MUST be `Some` and contain the recipient's node id for
636
+ /// sending an [`InvoiceRequest`].
637
+ /// - If [`Offer::paths`] is not empty, MAY be `Some` and contain a transient id.
638
+ /// - If `None`, the signing pubkey will be the final blinded node id from the
639
+ /// [`BlindedMessagePath`] in [`Offer::paths`] used to send the [`InvoiceRequest`].
640
+ ///
641
+ /// See also [`Bolt12Invoice::signing_pubkey`].
642
+ ///
643
+ /// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
644
+ /// [`Bolt12Invoice::signing_pubkey`]: crate::offers::invoice::Bolt12Invoice::signing_pubkey
635
645
pub fn issuer_signing_pubkey( & $self) -> Option <bitcoin:: secp256k1:: PublicKey > {
636
646
$contents. issuer_signing_pubkey( )
637
647
}
You can’t perform that action at this time.
0 commit comments