From f37eaef4ba979cf5ceea3eb399197923fa77d2f9 Mon Sep 17 00:00:00 2001 From: Matt Kocubinski Date: Thu, 31 Oct 2024 15:30:26 -0500 Subject: [PATCH] rm comment --- nodedb.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nodedb.go b/nodedb.go index ffc096692..0eb7003c7 100644 --- a/nodedb.go +++ b/nodedb.go @@ -305,11 +305,6 @@ func (ndb *nodeDB) SetFastStorageVersionToBatch(latestVersion int64) error { newVersion = fastStorageVersionValue } - // no latest version found - // if latestVersion == -1 { - // use initial version - // latestVersion = int64(ndb.opts.InitialVersion) - // } newVersion += fastStorageVersionDelimiter + strconv.Itoa(int(latestVersion)) if err := ndb.batch.Set(metadataKeyFormat.Key([]byte(storageVersionKey)), []byte(newVersion)); err != nil {