Skip to content

Commit

Permalink
Dump header hash and slot no for events
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly committed Sep 21, 2023
1 parent b65bf73 commit e515987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-node/src/Cardano/Node/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ runNode cmdPc = do
SomeConsensusProtocol blk runP ->
handleNodeWithTracers
(case blk of
Api.CardanoBlockType -> \event -> do
putStrLn $ "New ledger event: " <> show (convertAuxLedgerEvent event)
Api.CardanoBlockType -> \headerHash slotNo event -> do
putStrLn $ "New ledger event: " <> show headerHash <> " " <> show slotNo <> " " <> show (convertAuxLedgerEvent event)
Api.ByronBlockType{} ->
const $ pure ()
Api.ShelleyBlockType{} ->
Expand Down

0 comments on commit e515987

Please sign in to comment.