Skip to content

Commit

Permalink
replace with
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed May 3, 2024
1 parent b4904b4 commit 56d2cc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zetaclient/core_context/zeta_core_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ func (c *ZetaCoreContext) GetEnabledExternalChains() []chains.Chain {
c.coreContextLock.RLock()
defer c.coreContextLock.RUnlock()

foreignChains := make([]chains.Chain, 0)
externalChains := make([]chains.Chain, 0)
for _, chain := range c.chainsEnabled {
if !chain.IsZetaChain() {
foreignChains = append(foreignChains, chain)
if chain.IsExternal {
externalChains = append(externalChains, chain)
}
}
return foreignChains
return externalChains
}

func (c *ZetaCoreContext) GetEVMChainParams(chainID int64) (*observertypes.ChainParams, bool) {
Expand Down

0 comments on commit 56d2cc1

Please sign in to comment.