File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -187,9 +187,6 @@ drawRemainingContestationPeriod deadline now =
187
187
then padLeftRight 1 $ vBox [txt " Remaining time to contest: " , str (renderTime remaining)]
188
188
else txt " Contestation period passed, ready to fan out soon."
189
189
190
- drawTotalCommitted :: UTxO -> Widget n
191
- drawTotalCommitted utxo = str (" Total committed: " <> toString (renderValue (balance @ Tx utxo)))
192
-
193
190
drawRemainingParties :: IdentifiedState -> [Party ] -> Widget n
194
191
drawRemainingParties k xs =
195
192
str " Waiting for parties to commit:"
@@ -236,9 +233,6 @@ drawIfActive f = \case
236
233
Idle -> emptyWidget
237
234
Active x -> f x
238
235
239
- drawIfLive :: (ActiveLink -> Widget n ) -> ConnectedState -> Widget n
240
- drawIfLive f = drawIfConnected (drawIfActive f . headState)
241
-
242
236
drawPeersIfConnected :: ConnectedState -> Widget n
243
237
drawPeersIfConnected = drawIfConnected (drawPeers . peers)
244
238
Original file line number Diff line number Diff line change @@ -356,14 +356,6 @@ handleVtyEventsFinal hydraClient e = do
356
356
liftIO (sendInput hydraClient Init )
357
357
_ -> pure ()
358
358
359
- handleVtyEventsConnection ::
360
- CardanoClient ->
361
- Client Tx IO ->
362
- Vty. Event ->
363
- EventM Name Connection ()
364
- handleVtyEventsConnection cardanoClient hydraClient e = do
365
- zoom headStateL $ handleVtyEventsHeadState cardanoClient hydraClient e
366
-
367
359
handleVtyEventsLogState :: Vty. Event -> EventM Name LogState ()
368
360
handleVtyEventsLogState = \ case
369
361
EvKey (KChar ' <' ) [] -> scroll Up
You can’t perform that action at this time.
0 commit comments