Skip to content

Commit

Permalink
Function rename
Browse files Browse the repository at this point in the history
  • Loading branch information
asoliman92 committed Jun 21, 2024
1 parent fd75700 commit 5f3926e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/services/ocr3/plugins/ccip/commit/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func (p *Plugin) supportedChains() (mapset.Set[cciptypes.ChainSelector], error)
return supportedChains, nil
}

func (p *Plugin) getChainConfig() (cciptypes.ChainConfig, error) {
func (p *Plugin) getDestChainConfig() (cciptypes.ChainConfig, error) {
cfg, err := p.homeChainPoller.GetChainConfig(p.cfg.DestChain)
if err != nil {
return cciptypes.ChainConfig{}, fmt.Errorf("get chain config: %w", err)
Expand All @@ -358,7 +358,7 @@ func (p *Plugin) getChainConfig() (cciptypes.ChainConfig, error) {
}

func (p *Plugin) supportsDestChain() (bool, error) {
destChainConfig, err := p.getChainConfig()
destChainConfig, err := p.getDestChainConfig()
if err != nil {
return false, fmt.Errorf("error getting chain config: %w", err)
}
Expand Down

0 comments on commit 5f3926e

Please sign in to comment.