File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ pub struct RefundBuilder {
102
102
}
103
103
104
104
impl RefundBuilder {
105
- /// Creates a new builder for a refund using the [`Refund::payer_id`] for signing invoices. Use
106
- /// a different pubkey per refund to avoid correlating refunds .
105
+ /// Creates a new builder for a refund using the [`Refund::payer_id`] for the public node id to
106
+ /// send to if no [`Refund::paths`] are set. Otherwise, it may be a transient pubkey .
107
107
///
108
108
/// Additionally, sets the required [`Refund::description`], [`Refund::metadata`], and
109
109
/// [`Refund::amount_msats`].
@@ -285,7 +285,10 @@ impl Refund {
285
285
& self . contents . features
286
286
}
287
287
288
- /// A possibly transient pubkey used to sign the refund.
288
+ /// A public node id to send to in the case where there are no [`paths`]. Otherwise, a possibly
289
+ /// transient pubkey.
290
+ ///
291
+ /// [`paths`]: Self::paths
289
292
pub fn payer_id ( & self ) -> PublicKey {
290
293
self . contents . payer_id
291
294
}
You can’t perform that action at this time.
0 commit comments