From 9089e61f37fecd918b55679cd1e2b0921067d43a Mon Sep 17 00:00:00 2001 From: blxdyx Date: Sun, 22 Sep 2024 16:54:46 +0800 Subject: [PATCH] add manifest --- cmd/downloader/main.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmd/downloader/main.go b/cmd/downloader/main.go index 3305af86b5b..e217e1b3590 100644 --- a/cmd/downloader/main.go +++ b/cmd/downloader/main.go @@ -535,6 +535,14 @@ func manifest(ctx context.Context, logger log.Logger) error { } files = append(files, "idx/"+fName) } + l, _ = dir.ListFiles(dirs.SnapAccessors, extList...) + for _, fPath := range l { + _, fName := filepath.Split(fPath) + if strings.Contains(fName, "commitment") { + continue + } + files = append(files, "accessor/"+fName) + } sort.Strings(files) for _, f := range files {