Skip to content

Commit

Permalink
fix syntax err
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkouv committed Jun 20, 2024
1 parent a5c8720 commit fb3b20a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/services/ocr2/plugins/ccip/ccipcommit/initializers.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ func jobSpecToCommitPluginConfig(ctx context.Context, orm cciporm.ORM, lggr logg

err = commitStoreReader.SetGasEstimator(ctx, params.sourceChain.GasEstimator())
if err != nil {
return nil, nil, nil, fmt.Errorf("could not set gas estimator: %w", err)
return nil, nil, nil, nil, fmt.Errorf("could not set gas estimator: %w", err)
}

err = commitStoreReader.SetSourceMaxGasPrice(ctx, params.sourceChain.Config().EVM().GasEstimator().PriceMax().ToInt())
if err != nil {
return nil, nil, nil, fmt.Errorf("could not set source max gas price: %w", err)
return nil, nil, nil, nil, fmt.Errorf("could not set source max gas price: %w", err)
}

sourceChainName, destChainName, err := ccipconfig.ResolveChainNames(params.sourceChain.ID().Int64(), params.destChain.ID().Int64())
Expand Down

0 comments on commit fb3b20a

Please sign in to comment.