mirror of
https://github.com/lightninglabs/loop
synced 2024-11-11 13:11:12 +00:00
cmd/loop: bump rate maximum
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
This commit is contained in:
parent
e5c5d49a30
commit
933f1b81d1
@ -134,7 +134,7 @@ func getLimits(amt btcutil.Amount, quote *looprpc.QuoteResponse) *limits {
|
|||||||
|
|
||||||
// Apply a multiplier to the estimated miner fee, to not get
|
// Apply a multiplier to the estimated miner fee, to not get
|
||||||
// the swap canceled because fees increased in the mean time.
|
// 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),
|
maxSwapFee: btcutil.Amount(quote.SwapFee),
|
||||||
maxPrepayAmt: &maxPrepayAmt,
|
maxPrepayAmt: &maxPrepayAmt,
|
||||||
|
Loading…
Reference in New Issue
Block a user