Skip to content

Commit c0f1972

Browse files
committed
liquidity: fix duplicate sweep label
1 parent 132c319 commit c0f1972

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

liquidity/parameters.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,14 @@ func (p Parameters) String() string {
159159
)
160160
}
161161

162-
return fmt.Sprintf("rules: %v, failure backoff: %v, sweep "+
163-
"sweep conf target: %v, htlc conf target: %v,fees: %v, "+
164-
"auto budget: %v, budget refresh: %v, max auto in flight: %v, "+
165-
"minimum swap size=%v, maximum swap size=%v",
166-
strings.Join(ruleList, ","), p.FailureBackOff,
167-
p.SweepConfTarget, p.HtlcConfTarget, p.FeeLimit,
168-
p.AutoFeeBudget, p.AutoFeeRefreshPeriod, p.MaxAutoInFlight,
169-
p.ClientRestrictions.Minimum, p.ClientRestrictions.Maximum)
162+
return fmt.Sprintf("rules: %v, failure backoff: %v, sweep conf "+
163+
"target: %v, htlc conf target: %v,fees: %v, auto budget: %v, "+
164+
"budget refresh: %v, max auto in flight: %v, minimum swap "+
165+
"size=%v, maximum swap size=%v", strings.Join(ruleList, ","),
166+
p.FailureBackOff, p.SweepConfTarget, p.HtlcConfTarget,
167+
p.FeeLimit, p.AutoFeeBudget, p.AutoFeeRefreshPeriod,
168+
p.MaxAutoInFlight, p.ClientRestrictions.Minimum,
169+
p.ClientRestrictions.Maximum)
170170
}
171171

172172
// haveRules returns a boolean indicating whether we have any rules configured.

0 commit comments

Comments
 (0)