File tree 1 file changed +5
-3
lines changed
1 file changed +5
-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 node to send to
106
+ /// if no [`Refund::paths`] are set .
107
107
///
108
108
/// Additionally, sets the required [`Refund::description`], [`Refund::metadata`], and
109
109
/// [`Refund::amount_msats`].
@@ -285,7 +285,9 @@ impl Refund {
285
285
& self . contents . features
286
286
}
287
287
288
- /// A possibly transient pubkey used to sign the refund.
288
+ /// A possibly transient pubkey used for the node to send to if there are no [`paths`].
289
+ ///
290
+ /// [`paths`]: Self::paths
289
291
pub fn payer_id ( & self ) -> PublicKey {
290
292
self . contents . payer_id
291
293
}
You can’t perform that action at this time.
0 commit comments