Skip to content

Commit

Permalink
Linter things
Browse files Browse the repository at this point in the history
  • Loading branch information
dimriou committed Sep 30, 2024
1 parent e278ba4 commit f55041e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/cmd/shell_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f55041e

Please sign in to comment.