Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
asoliman92 committed Jun 21, 2024
1 parent 27697a3 commit e7c2003
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/services/ocr3/plugins/ccip/commit/plugin_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"testing"

"github.com/smartcontractkit/ccipocr3/internal/reader"

cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3"
libocrtypes "github.com/smartcontractkit/libocr/ragep2p/types"
"github.com/stretchr/testify/mock"
Expand Down
4 changes: 2 additions & 2 deletions core/services/ocr3/plugins/ccip/internal/reader/home_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (r *HomeChainConfigPoller) GetKnownCCIPChains() (mapset.Set[cciptypes.Chain
r.mutex.RLock()
defer r.mutex.RUnlock()
knownSourceChains := mapset.NewSet[cciptypes.ChainSelector]()
for chain, _ := range r.chainConfigs {
for chain := range r.chainConfigs {
knownSourceChains.Add(chain)
}
if knownSourceChains.Cardinality() == 0 {
Expand Down Expand Up @@ -200,7 +200,7 @@ func createFChain(chainConfigs map[cciptypes.ChainSelector]cciptypes.ChainConfig

func createKnownChains(chainConfigs map[cciptypes.ChainSelector]cciptypes.ChainConfig) mapset.Set[cciptypes.ChainSelector] {
knownChains := mapset.NewSet[cciptypes.ChainSelector]()
for chain, _ := range chainConfigs {
for chain := range chainConfigs {
knownChains.Add(chain)
}
return knownChains
Expand Down

0 comments on commit e7c2003

Please sign in to comment.