From f0ae1d9d48bbafbfea46a58463ce8ba533197c80 Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Mon, 15 Jul 2024 01:32:00 -0700 Subject: [PATCH] make fmt --- chainio/txmgr/geometric.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chainio/txmgr/geometric.go b/chainio/txmgr/geometric.go index 6fa43136..108ffcdf 100644 --- a/chainio/txmgr/geometric.go +++ b/chainio/txmgr/geometric.go @@ -565,7 +565,8 @@ func (t *GeometricTxManager) estimateGasTipCap(ctx context.Context) (gasTipCap * // The result is returned in a new big.Int to avoid modifying the input gasTipCap. func (t *GeometricTxManager) addGasTipCapBuffer(gasTipCap *big.Int) *big.Int { bumpedGasTipCap := new(big.Int).Set(gasTipCap) - return bumpedGasTipCap.Mul(bumpedGasTipCap, big.NewInt(int64(t.params.GasTipMultiplierPercentage))).Div(bumpedGasTipCap, big.NewInt(100)) + return bumpedGasTipCap.Mul(bumpedGasTipCap, big.NewInt(int64(t.params.GasTipMultiplierPercentage))). + Div(bumpedGasTipCap, big.NewInt(100)) } // estimateGasFeeCap returns the gas fee cap for a transaction, calculated as: