From d9247777626622207f951459e486cf00208d0328 Mon Sep 17 00:00:00 2001 From: Charlie Chen Date: Mon, 1 Apr 2024 16:44:33 -0500 Subject: [PATCH] skip keysign if chain is not supported --- zetaclient/zetacore_observer.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zetaclient/zetacore_observer.go b/zetaclient/zetacore_observer.go index 8ec76013a5..34d0774507 100644 --- a/zetaclient/zetacore_observer.go +++ b/zetaclient/zetacore_observer.go @@ -154,6 +154,10 @@ func (co *CoreObserver) startCctxScheduler(appContext *appcontext.AppContext) { co.logger.ZetaChainWatcher.Error().Err(err).Msgf("startCctxScheduler: getTargetChainOb failed for chain %d", c.ChainId) continue } + if !ob.GetChainParams().IsSupported { + co.logger.ZetaChainWatcher.Info().Msgf("startCctxScheduler: chain %d is not supported", c.ChainId) + continue + } cctxList, totalPending, err := co.bridge.ListPendingCctx(c.ChainId) if err != nil {