Skip to content

Commit

Permalink
Merge pull request #247 from spacemeshos/4789-do-not-log-extra-files
Browse files Browse the repository at this point in the history
Remove obsolete TODO for logging unknown files.
  • Loading branch information
fasmat authored Nov 2, 2023
2 parents 940f013 + 4955888 commit 738454f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion initialization/initialization.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ func removeRedundantFiles(cfg config.Config, opts config.InitOpts, logger *zap.L
name := file.Name()
fileIndex, err := shared.ParseFileIndex(name)
if err != nil && name != MetadataFileName {
// TODO(mafa): revert back to warning, see https://github.com/spacemeshos/go-spacemesh/issues/4789
logger.Debug("found unrecognized file", zap.String("fileName", name))
continue
}
Expand Down

0 comments on commit 738454f

Please sign in to comment.