From 90025216da889ec038572a17a0be6a0f2be8db42 Mon Sep 17 00:00:00 2001 From: Ralph Pichler Date: Mon, 7 Jun 2021 15:35:25 +0200 Subject: [PATCH] feat: reduce required eth --- pkg/settlement/swap/chequebook/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/settlement/swap/chequebook/init.go b/pkg/settlement/swap/chequebook/init.go index ee39d090279..6c630daab78 100644 --- a/pkg/settlement/swap/chequebook/init.go +++ b/pkg/settlement/swap/chequebook/init.go @@ -53,7 +53,7 @@ func checkBalance( return err } - minimumEth := gasPrice.Mul(gasPrice, big.NewInt(2000000)) + minimumEth := gasPrice.Mul(gasPrice, big.NewInt(250000)) insufficientERC20 := erc20Balance.Cmp(swapInitialDeposit) < 0 insufficientETH := ethBalance.Cmp(minimumEth) < 0