File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB/V2 Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ import Data.Void
7676import Database.LSMTree (Session , Table )
7777import qualified Database.LSMTree as LSM
7878import qualified Database.LSMTree.Internal.Types as LSM
79- -- import qualified Debug.Trace as Debug
8079import GHC.Generics
8180import NoThunks.Class
8281import Ouroboros.Consensus.Block
@@ -226,9 +225,7 @@ newLSMLedgerTablesHandle tracer rr session (resKey, t0) = do
226225 , pushDiffs = const (implPushDiffs tv)
227226 , takeHandleSnapshot = \ _ snapshotName -> guardClosed tv $
228227 \ table -> do
229- exists <- LSM. doesSnapshotExist session (fromString snapshotName)
230- -- Debug.traceShowM =<< LSM.listSnapshots session
231- Monad. when (not exists) $ LSM. saveSnapshot (fromString snapshotName) " UTxO table" table
228+ LSM. saveSnapshot (fromString snapshotName) " UTxO table" table
232229 pure Nothing
233230 , tablesSize = pure Nothing
234231 }
You can’t perform that action at this time.
0 commit comments