diff --git a/bridge/setu/listener/heimdall.go b/bridge/setu/listener/heimdall.go index 38b3bb90..1fcf0495 100644 --- a/bridge/setu/listener/heimdall.go +++ b/bridge/setu/listener/heimdall.go @@ -16,7 +16,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" checkpointTypes "github.com/maticnetwork/heimdall/checkpoint/types" clerkTypes "github.com/maticnetwork/heimdall/clerk/types" - featureManagerTypes "github.com/maticnetwork/heimdall/featuremanager/types" slashingTypes "github.com/maticnetwork/heimdall/slashing/types" stakingTypes "github.com/maticnetwork/heimdall/staking/types" htype "github.com/maticnetwork/heimdall/types" @@ -308,12 +307,12 @@ func (hl *HeimdallListener) StartPollingEventRecord(ctx context.Context, pollInt } func (hl *HeimdallListener) loadEventRecords(ctx context.Context, pollInterval time.Duration) { - targetFeature, err := util.GetTargetFeatureConfig(hl.cliCtx, featureManagerTypes.DynamicCheckpoint) - if err != nil || !targetFeature.IsOpen { - hl.Logger.Info("Feature not supported... goroutine exists") - - return - } + //targetFeature, err := util.GetTargetFeatureConfig(hl.cliCtx, featureManagerTypes.DynamicCheckpoint) + //if err != nil || !targetFeature.IsOpen { + // hl.Logger.Info("Feature not supported... goroutine exists") + // + // return + //} if atomic.LoadUint32(&hl.stateSyncedInitializationRun) == 1 { hl.Logger.Info("Last ProcessEventRecords not finished... goroutine exists")