From 72493c2d3b6fbcf2c76299850333857fe9b64094 Mon Sep 17 00:00:00 2001 From: Kostas Dermentzis Date: Mon, 2 Sep 2024 20:39:18 +0300 Subject: [PATCH] Fixes --disable-cache issues Fixes https://github.com/IntersectMBO/cardano-db-sync/issues/1838 --- cardano-db-sync/src/Cardano/DbSync.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cardano-db-sync/src/Cardano/DbSync.hs b/cardano-db-sync/src/Cardano/DbSync.hs index 0a345f5d9..01ab284e6 100644 --- a/cardano-db-sync/src/Cardano/DbSync.hs +++ b/cardano-db-sync/src/Cardano/DbSync.hs @@ -240,7 +240,7 @@ extractSyncOptions snp aop snc = { soptEpochAndCacheEnabled = not isTxOutBootstrap' && ioInOut iopts - && not (enpEpochDisabled snp && enpHasCache snp) + && not (enpEpochDisabled snp || not (enpHasCache snp)) , soptAbortOnInvalid = aop , soptCache = enpHasCache snp , soptSkipFix = enpSkipFix snp