diff --git a/core/cmd/shell_local.go b/core/cmd/shell_local.go index 12b34a0056f..0a3ab13113f 100644 --- a/core/cmd/shell_local.go +++ b/core/cmd/shell_local.go @@ -687,9 +687,8 @@ func (s *Shell) RebroadcastTransactions(c *cli.Context) (err error) { if gasPriceWei <= math.MaxInt64 { //nolint:gosec // disable G115 return s.errorOut(ec.ForceRebroadcast(ctx, nonces, gas.EvmFee{GasPrice: assets.NewWeiI(int64(gasPriceWei))}, address, uint64(overrideGasLimit))) - } else { - return s.errorOut(fmt.Errorf("integer overflow conversion error. GasPrice: %v", gasPriceWei)) } + return s.errorOut(fmt.Errorf("integer overflow conversion error. GasPrice: %v", gasPriceWei)) } type HealthCheckPresenter struct {