Skip to content

Commit

Permalink
Addressed feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-momin committed Dec 18, 2024
1 parent 8a7be45 commit 1d8500a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/chains/legacyevm/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ func newChain(ctx context.Context, cfg *evmconfig.ChainScoped, nodes []*toml.Nod
}

// initialize gas estimator
var gasEstimator gas.EvmFeeEstimator
if gasEstimator, err = newGasEstimator(cfg.EVM(), client, l, opts, clientsByChainID); err != nil {
gasEstimator, err := newGasEstimator(cfg.EVM(), client, l, opts, clientsByChainID)
if err != nil {
return nil, fmt.Errorf("failed to instantiate gas estimator for chain with ID %s: %w", chainID, err)
}

Expand Down

0 comments on commit 1d8500a

Please sign in to comment.