From ad2203493f90de9e9014056663f6a2cd4a1d713c Mon Sep 17 00:00:00 2001 From: notanatol Date: Wed, 21 Feb 2024 06:29:58 -0600 Subject: [PATCH] fix: bad return --- pkg/storer/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storer/validate.go b/pkg/storer/validate.go index 47f4d781fd6..b7f8ba62112 100644 --- a/pkg/storer/validate.go +++ b/pkg/storer/validate.go @@ -357,7 +357,7 @@ func getInvalidChunks(logger log.Logger, store storage.Store, readFn func(contex err = store.Get(&sharedEntry) if err != nil { logger.Warning("no shared entry found") - return false, nil + return false, err } logger.Warning("retrieved chunk with shared slot", "shared_address", sharedEntry.Address, "shared_timestamp", time.Unix(int64(sharedEntry.Timestamp), 0))