File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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 { (
189189 /// different payer id for each refund, assuming a different nonce is used. Otherwise, the
190190 /// provided `node_id` is used for the payer id.
191191 ///
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`].
194195 ///
195196 /// The `payment_id` is encrypted in the metadata and should be unique. This ensures that only
196197 /// one invoice will be paid for the refund and that payments can be uniquely identified.
197198 ///
198- /// [`InvoiceRequest `]: crate::offers::invoice_request::InvoiceRequest
199+ /// [`Bolt12Invoice::verify `]: crate::offers::invoice::Bolt12Invoice::verify
199200 /// [`ExpandedKey`]: crate::ln::inbound_payment::ExpandedKey
200201 pub fn deriving_payer_id(
201202 node_id: PublicKey , expanded_key: & ExpandedKey , nonce: Nonce ,
You can’t perform that action at this time.
0 commit comments