Skip to content

Commit

Permalink
don't prune cuts at startup
Browse files Browse the repository at this point in the history
Change-Id: I82e10ee63220a2d1524c973992dc4e47e0a45f30
  • Loading branch information
chessai committed May 30, 2024
1 parent e363858 commit 5169967
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Chainweb/CutDB.hs
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,6 @@ startCutDb config logfun headerStore payloadStore cutHashesStore = mask_ $ do
queue <- newEmptyPQueue
cutAsync <- asyncWithUnmask $ \u -> u $ processor queue cutVar
logg Info "CutDB started"
unless (_cutDbParamsReadOnly config) $
pruneCuts logfun (_chainwebVersion headerStore) config (cutAvgBlockHeight v initialCut) cutHashesStore
return CutDb
{ _cutDbCut = cutVar
, _cutDbQueue = queue
Expand Down

0 comments on commit 5169967

Please sign in to comment.