From 933f1b81d197aba42ad0f1c7527a44655d032cb1 Mon Sep 17 00:00:00 2001 From: Alex Bosworth Date: Fri, 13 Mar 2020 14:03:20 -0700 Subject: [PATCH] cmd/loop: bump rate maximum Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change --- cmd/loop/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/loop/main.go b/cmd/loop/main.go index c8df8f1..0a7f82b 100644 --- a/cmd/loop/main.go +++ b/cmd/loop/main.go @@ -134,7 +134,7 @@ func getLimits(amt btcutil.Amount, quote *looprpc.QuoteResponse) *limits { // Apply a multiplier to the estimated miner fee, to not get // the swap canceled because fees increased in the mean time. - maxMinerFee: btcutil.Amount(quote.MinerFee) * 3, + maxMinerFee: btcutil.Amount(quote.MinerFee) * 100, maxSwapFee: btcutil.Amount(quote.SwapFee), maxPrepayAmt: &maxPrepayAmt,