Skip to content

Commit 2b18e5f

Browse files
sorkikderme
authored andcommitted
Fix map(C)ache typo
1 parent 53e5701 commit 2b18e5f

File tree

1 file changed

+2
-2
lines changed
  • cardano-db-sync/src/Cardano/DbSync

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ handleEpochWhenFollowing ::
113113
ReaderT SqlBackend m (Either SyncNodeError ())
114114
handleEpochWhenFollowing syncEnv cache newestEpochFromMap epochBlockDiffCache epochNo = do
115115
case newestEpochFromMap of
116-
Just newestEpochFromMapache -> do
116+
Just newestEpochFromMapCache -> do
117117
case epochBlockDiffCache of
118118
Nothing -> noCacheUseDB
119-
Just currentEpCache -> makeEpochWithCacheWhenFollowing syncEnv cache newestEpochFromMapache currentEpCache epochNo
119+
Just currentEpCache -> makeEpochWithCacheWhenFollowing syncEnv cache newestEpochFromMapCache currentEpCache epochNo
120120

121121
-- If there isn't an epoch in cache, let's see if we can get one from the db. Otherwise
122122
-- calculate the epoch using the expensive db query.

0 commit comments

Comments
 (0)