diff --git a/hbs2-git3/app/Main.hs b/hbs2-git3/app/Main.hs index bf8f8e39..beff3540 100644 --- a/hbs2-git3/app/Main.hs +++ b/hbs2-git3/app/Main.hs @@ -968,7 +968,8 @@ traverseToCBlock sto cblock dig process = do deeper <- dig h - if not deeper then + if not deeper then do + atomically $ modifyTVar done ( HS.insert h ) next WNextSBlock else do sections <- cached cache h $ S.toList_ (readCBlock sto h S.yield)