Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Corduan committed Mar 25, 2023
1 parent c05248e commit 0763766
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cardano-client-demo/LedgerEvents.hs
Expand Up @@ -59,12 +59,11 @@ main = do
!_ <- fmap f . runExceptT $ foldBlocks
(conf args)
(socket args)
QuickValidation
FullValidation
()
(\_
_
events
(BlockInMode (Block (BlockHeader slot _blockHeaderHash _blockNo) _txs) _era)
-- _ -> mapM_ myEvents events)
_ -> mapM_ (putStrLn . displayEventType) events)
_ -> if (slot == targetSlot) then mapM_ myEvents events else pure ())

Check warning on line 68 in cardano-client-demo/LedgerEvents.hs

View workflow job for this annotation

GitHub Actions / build

Suggestion in main in module Main: Redundant bracket ▫︎ Found: "if (slot == targetSlot) then mapM_ myEvents events else pure ()" ▫︎ Perhaps: "if slot == targetSlot then mapM_ myEvents events else pure ()"
return ()

0 comments on commit 0763766

Please sign in to comment.