Skip to content

Commit bc91d1a

Browse files
committed
f: update docs
1 parent e9e064f commit bc91d1a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

lightning/src/blinded_path/message.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,16 +348,15 @@ pub enum OffersContext {
348348
/// [`Bolt12Invoice::payment_hash`]: crate::offers::invoice::Bolt12Invoice::payment_hash
349349
payment_hash: PaymentHash,
350350

351-
/// A nonce used for authenticating that a [`Bolt12Invoice`] is for a valid [`Refund`] or
352-
/// [`InvoiceRequest`] and for deriving their signing keys.
351+
/// A nonce used for authenticating that a received [`InvoiceError`] is for a valid
352+
/// sent [`Bolt12Invoice`].
353353
///
354+
/// [`InvoiceError`]: crate::offers::invoice_error::InvoiceError
354355
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice
355-
/// [`Refund`]: crate::offers::refund::Refund
356-
/// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
357356
nonce: Nonce,
358357

359-
/// Authentication code for the [`PaymentId`], which should be checked when the context is
360-
/// used with an [`InvoiceError`].
358+
/// Authentication code for the [`PaymentHash`], which should be checked when the context is
359+
/// used to log the received [`InvoiceError`].
361360
///
362361
/// [`InvoiceError`]: crate::offers::invoice_error::InvoiceError
363362
hmac: Hmac<Sha256>,

0 commit comments

Comments
 (0)