Skip to content

Commit

Permalink
use thread safe GetChainsEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Oct 31, 2023
1 parent 03dec0f commit 1470de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetaclient/zetacore_observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (co *CoreObserver) startSendScheduler() {
}
//logger.Info().Dur("elapsed", time.Since(tStart)).Msgf("GetAllPendingCctx %d", len(sendList))

supportedChains := co.Config().ChainsEnabled
supportedChains := co.Config().GetEnabledChains()
for _, c := range supportedChains {
if c.ChainId == common.ZetaChain().ChainId {
continue
Expand Down

0 comments on commit 1470de8

Please sign in to comment.