Skip to content

Commit

Permalink
Update lib/core/src/Cardano/Pool/DB/Sqlite.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Knowles <jonathan.knowles@iohk.io>
  • Loading branch information
hasufell and jonathanknowles committed Oct 22, 2020
1 parent c876d77 commit fcb2ee9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/core/src/Cardano/Pool/DB/Sqlite.hs
Expand Up @@ -530,8 +530,9 @@ newDBLayer trace fp timeInterpreter = do
listOfK k = go
where
go [] = []
go xs = let (l, r) = splitAt k xs
in l : go r
go xs =
let (l, r) = splitAt k xs
in l : go r

removePools = mapM_ $ \pool -> do
liftIO $ traceWith trace $ MsgRemovingPool pool
Expand Down

0 comments on commit fcb2ee9

Please sign in to comment.