File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -191,12 +191,15 @@ macro_rules! refund_builder_methods { (
191
191
///
192
192
/// Also, sets the metadata when [`RefundBuilder::build`] is called such that it can be used by
193
193
/// [`Bolt12Invoice::verify`] to determine if the invoice was produced for the refund given an
194
- /// [`ExpandedKey`].
194
+ /// [`ExpandedKey`]. However, if [`RefundBuilder::path`] is called, then the metadata must be
195
+ /// included in each [`BlindedPath`] instead. In this case, use
196
+ /// [`Bolt12Invoice::verify_using_payer_data`].
195
197
///
196
198
/// The `payment_id` is encrypted in the metadata and should be unique. This ensures that only
197
199
/// one invoice will be paid for the refund and that payments can be uniquely identified.
198
200
///
199
201
/// [`Bolt12Invoice::verify`]: crate::offers::invoice::Bolt12Invoice::verify
202
+ /// [`Bolt12Invoice::verify_using_payer_data`]: crate::offers::invoice::Bolt12Invoice::verify_using_payer_data
200
203
/// [`ExpandedKey`]: crate::ln::inbound_payment::ExpandedKey
201
204
pub fn deriving_payer_id(
202
205
node_id: PublicKey , expanded_key: & ExpandedKey , nonce: Nonce ,
You can’t perform that action at this time.
0 commit comments