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 {
102102}
103103
104104impl 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 .
107107 ///
108108 /// Additionally, sets the required [`Refund::description`], [`Refund::metadata`], and
109109 /// [`Refund::amount_msats`].
@@ -285,7 +285,10 @@ impl Refund {
285285 & self . contents . features
286286 }
287287
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
289292 pub fn payer_id ( & self ) -> PublicKey {
290293 self . contents . payer_id
291294 }
You can’t perform that action at this time.
0 commit comments