Skip to content

Commit

Permalink
Apply styling suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Szamotulski <profunctor@pm.me>
  • Loading branch information
bolt12 and coot committed May 12, 2021
1 parent 0526907 commit a2a19de
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions cardano-node/src/Cardano/Node/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -436,12 +436,15 @@ producerAddresses
producerAddresses nt =
case nt of
RealNodeTopology lrpg prp _ ->
( map (\lrp -> (valency lrp
, Map.fromList $ rootAddressToRelayAddress
$ localRoots lrp))
(groups lrpg)
, concatMap (map fst . rootAddressToRelayAddress)
(map publicRoots prp))
( map (\lrp -> ( valency lrp
, Map.fromList $ rootAddressToRelayAddress
$ localRoots lrp
)
)
(groups lrpg)
, concatMap (map fst . rootAddressToRelayAddress)
(map publicRoots prp)
)

useLedgerAfterSlot
:: NetworkTopology
Expand Down

0 comments on commit a2a19de

Please sign in to comment.