Skip to content

Commit cdfef3b

Browse files
committed
TUI logs info on HeadIsContested
1 parent 6d75c29 commit cdfef3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hydra-tui/src/Hydra/TUI/Handlers.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ handleHydraEventsInfo = \case
276276
warn time $ "Invalid command: " <> show clientInput
277277
Update TimedServerOutput{time, output = HeadIsClosed{snapshotNumber}} -> do
278278
info time $ "Head closed with snapshot number " <> show snapshotNumber
279+
Update TimedServerOutput{time, output = HeadIsContested{snapshotNumber, contestationDeadline}} -> do
280+
info time ("Head contested with snapshot number " <> show snapshotNumber <> " and deadline " <> show contestationDeadline)
279281
Update TimedServerOutput{time, output = TxValid{}} ->
280282
report Success time "Transaction submitted successfully!"
281283
Update TimedServerOutput{time, output = TxInvalid{transaction, validationError}} ->

0 commit comments

Comments
 (0)