We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18ea549 + 4b077a9 commit 9bad32dCopy full SHA for 9bad32d
cardano-db-sync/src/Cardano/DbSync/Ledger/State.hs
@@ -705,7 +705,7 @@ listMemorySnapshots env = do
705
case AS.toNewestFirst $ ledgerDbCheckpoints ldb of
706
[] -> []
707
[a] -> [a]
708
- ls -> [List.head ls, List.last ls]
+ (h : ls) -> catMaybes [Just h, lastMay ls]
709
notGenesis GenesisPoint = False
710
notGenesis (BlockPoint _ _) = True
711
0 commit comments