Skip to content

Commit 91e01e7

Browse files
committed
fourmolu fixes
1 parent 4e55945 commit 91e01e7

File tree

2 files changed

+6
-10
lines changed
  • cardano-chain-gen/src/Cardano/Mock/Forging/Tx
  • cardano-db-sync/src/Cardano/DbSync

2 files changed

+6
-10
lines changed

cardano-chain-gen/src/Cardano/Mock/Forging/Tx/Conway.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
{-# LANGUAGE TypeApplications #-}
99
{-# LANGUAGE TypeFamilies #-}
1010

11-
12-
13-
14-
1511
module Cardano.Mock.Forging.Tx.Conway (
1612
ConwayLedgerState,
1713
Babbage.TxOutScriptType (..),

cardano-db-sync/src/Cardano/DbSync/Sync.hs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{-# LANGUAGE AllowAmbiguousTypes #-}
22
{-# LANGUAGE DataKinds #-}
33
{-# LANGUAGE FlexibleContexts #-}
4+
{-# LANGUAGE LambdaCase #-}
45
{-# LANGUAGE OverloadedStrings #-}
56
{-# LANGUAGE RankNTypes #-}
67
{-# LANGUAGE ScopedTypeVariables #-}
78
{-# LANGUAGE TypeApplications #-}
89
{-# LANGUAGE TypeFamilies #-}
910
{-# LANGUAGE NoImplicitPrelude #-}
10-
{-# LANGUAGE LambdaCase #-}
1111

1212
module Cardano.DbSync.Sync (
1313
ConfigFile (..),
@@ -138,11 +138,11 @@ runSyncNodeClient metricsSetters syncEnv iomgr trce tc (SocketPath socketPath) =
138138
{ spAddress = Snocket.localAddressFromPath socketPath
139139
, spReconnectionDelay = Nothing
140140
, spCompleteCb = \case
141-
Left e ->
142-
case fromException e of
143-
Just AsyncCancelled -> Abort
144-
_other -> Reconnect
145-
Right _ -> Reconnect
141+
Left e ->
142+
case fromException e of
143+
Just AsyncCancelled -> Abort
144+
_other -> Reconnect
145+
Right _ -> Reconnect
146146
}
147147

148148
subscriptionTracers =

0 commit comments

Comments
 (0)