Skip to content

Commit 54d9ab2

Browse files
committed
Fixes --disable-cache issues
Fixes #1838
1 parent 4c2e7e1 commit 54d9ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cardano-db-sync/src/Cardano/DbSync.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ extractSyncOptions snp aop snc =
240240
{ soptEpochAndCacheEnabled =
241241
not isTxOutBootstrap'
242242
&& ioInOut iopts
243-
&& not (enpEpochDisabled snp && enpHasCache snp)
243+
&& not (enpEpochDisabled snp || not (enpHasCache snp))
244244
, soptAbortOnInvalid = aop
245245
, soptCache = enpHasCache snp
246246
, soptSkipFix = enpSkipFix snp

0 commit comments

Comments
 (0)