File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -189,13 +189,14 @@ macro_rules! refund_builder_methods { (
189
189
/// different payer id for each refund, assuming a different nonce is used. Otherwise, the
190
190
/// provided `node_id` is used for the payer id.
191
191
///
192
- /// Also, sets the metadata when [`RefundBuilder::build`] is called such that it can be used to
193
- /// verify that an [`InvoiceRequest`] was produced for the refund given an [`ExpandedKey`].
192
+ /// Also, sets the metadata when [`RefundBuilder::build`] is called such that it can be used by
193
+ /// [`Bolt12Invoice::verify`] to determine if the invoice was produced for the refund given an
194
+ /// [`ExpandedKey`].
194
195
///
195
196
/// The `payment_id` is encrypted in the metadata and should be unique. This ensures that only
196
197
/// one invoice will be paid for the refund and that payments can be uniquely identified.
197
198
///
198
- /// [`InvoiceRequest `]: crate::offers::invoice_request::InvoiceRequest
199
+ /// [`Bolt12Invoice::verify `]: crate::offers::invoice::Bolt12Invoice::verify
199
200
/// [`ExpandedKey`]: crate::ln::inbound_payment::ExpandedKey
200
201
pub fn deriving_payer_id(
201
202
node_id: PublicKey , expanded_key: & ExpandedKey , nonce: Nonce ,
You can’t perform that action at this time.
0 commit comments