@@ -64,7 +64,7 @@ type OutRequest struct {
6464 SweepConfTarget int32
6565
6666 // LoopOutChannel optionally specifies the short channel id of the
67- // channel to uncharge .
67+ // channel to loop out .
6868 LoopOutChannel * uint64
6969}
7070
@@ -149,15 +149,15 @@ type LoopInRequest struct {
149149 // MaxSwapFee is the maximum we are willing to pay the server for the
150150 // swap. This value is not disclosed in the swap initiation call, but if
151151 // the server asks for a higher fee, we abort the swap. Typically this
152- // value is taken from the response of the UnchargeQuote call. It
152+ // value is taken from the response of the LoopInQuote call. It
153153 // includes the prepay amount.
154154 MaxSwapFee btcutil.Amount
155155
156156 // MaxMinerFee is the maximum in on-chain fees that we are willing to
157157 // spent. If we publish the on-chain htlc and the fee estimate turns out
158158 // higher than this value, we cancel the swap.
159159 //
160- // MaxMinerFee is typically taken from the response of the UnchargeQuote
160+ // MaxMinerFee is typically taken from the response of the LoopInQuote
161161 // call.
162162 MaxMinerFee btcutil.Amount
163163
@@ -166,15 +166,15 @@ type LoopInRequest struct {
166166 HtlcConfTarget int32
167167
168168 // LoopInChannel optionally specifies the short channel id of the
169- // channel to charge .
169+ // channel to loop in .
170170 LoopInChannel * uint64
171171
172172 // ExternalHtlc specifies whether the htlc is published by an external
173173 // source.
174174 ExternalHtlc bool
175175}
176176
177- // LoopInTerms are the server terms on which it executes charge swaps.
177+ // LoopInTerms are the server terms on which it executes loop in swaps.
178178type LoopInTerms struct {
179179 // MinSwapAmount is the minimum amount that the server requires for a
180180 // swap.
0 commit comments