Skip to content

Commit 6a4f34f

Browse files
committed
f - clarify VerifiedInvoiceRequest::keys docs
1 parent c37737c commit 6a4f34f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lightning/src/offers/invoice_request.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,12 @@ pub struct VerifiedInvoiceRequest {
433433

434434
/// Keys used for signing a [`Bolt12Invoice`] if they can be derived.
435435
///
436-
/// If `Some`, then must respond with methods that use derived keys. Otherwise, should respond
437-
/// with an invoice signed explicitly.
436+
/// If `Some`, must call [`respond_using_derived_keys`] when responding. Otherwise, call
437+
/// [`respond_with`].
438438
///
439439
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice
440+
/// [`respond_using_derived_keys`]: Self::respond_using_derived_keys
441+
/// [`respond_with`]: Self::respond_with
440442
pub keys: Option<KeyPair>,
441443
}
442444

0 commit comments

Comments
 (0)