Skip to content

Commit 933f1b8

Browse files
authored
cmd/loop: bump rate maximum
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
1 parent e5c5d49 commit 933f1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/loop/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func getLimits(amt btcutil.Amount, quote *looprpc.QuoteResponse) *limits {
134134

135135
// Apply a multiplier to the estimated miner fee, to not get
136136
// the swap canceled because fees increased in the mean time.
137-
maxMinerFee: btcutil.Amount(quote.MinerFee) * 3,
137+
maxMinerFee: btcutil.Amount(quote.MinerFee) * 100,
138138

139139
maxSwapFee: btcutil.Amount(quote.SwapFee),
140140
maxPrepayAmt: &maxPrepayAmt,

0 commit comments

Comments
 (0)