Skip to content

Commit

Permalink
feat: reduce required eth
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph-pichler committed Jun 7, 2021
1 parent ebedbfe commit 9002521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/settlement/swap/chequebook/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9002521

Please sign in to comment.