Skip to content

Commit

Permalink
remove error catch
Browse files Browse the repository at this point in the history
  • Loading branch information
gatsbyz committed Jun 29, 2023
1 parent 7bca43b commit ada49f5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/loadtest/loadtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -986,10 +986,6 @@ func loadtestTransaction(ctx context.Context, c *ethclient.Client, nonce uint64,

gasLimit := uint64(21000)
var tx *ethtypes.Transaction
if err != nil {
log.Error().Err(err).Msg("Unable to get head")
return
}
if *ltp.LegacyTransactionMode {
tx = ethtypes.NewTransaction(nonce, *to, amount, gasLimit, gasPrice, nil)
} else {
Expand Down

0 comments on commit ada49f5

Please sign in to comment.