From e064c640e3cbcbdc755fa3289544a40e2b595f53 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Mon, 9 Dec 2024 14:00:19 +0100 Subject: [PATCH] fix: snapshot collector --- app/collector/snapshots.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/collector/snapshots.go b/app/collector/snapshots.go index 08c1465..fd805b9 100644 --- a/app/collector/snapshots.go +++ b/app/collector/snapshots.go @@ -30,10 +30,6 @@ func NewKyveSnapshotCollector(poolId int64, chainRest string) (*KyveSnapshotColl return nil, fmt.Errorf("found invalid runtime on snapshot pool %d: Expected = %s Found = %s", poolId, utils.RuntimeTendermintSsync, poolResponse.Pool.Data.Runtime) } - if poolResponse.Pool.Data.CurrentKey == "" { - return nil, fmt.Errorf("pool %d is empty and has not yet archived any data", poolId) - } - var config types.TendermintSSyncConfig if err := json.Unmarshal([]byte(poolResponse.Pool.Data.Config), &config); err != nil { return nil, fmt.Errorf("failed to unmarshal snapshot pool config %s: %w", poolResponse.Pool.Data.Config, err)