Skip to content

Commit

Permalink
CAD-2772 rebase on master
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcFontaine committed Jun 8, 2021
1 parent 4792d63 commit 85cffec
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -124,9 +124,9 @@ startProtocol logConfigFile = do
case ncProtocolConfig nc of
NodeProtocolConfigurationByron _ -> error "NodeProtocolConfigurationByron not supported"
NodeProtocolConfigurationShelley _ -> error "NodeProtocolConfigurationShelley not supported"
NodeProtocolConfigurationCardano byC shC hfC -> do
NodeProtocolConfigurationCardano byronConfig shelleyConfig alonzoConfig hardforkConfig -> do
ptcl :: SomeConsensusProtocol <- firstExceptT (ProtocolInstantiationError . pack . show) $
mkSomeConsensusProtocolCardano byC shC hfC Nothing
mkSomeConsensusProtocolCardano byronConfig shelleyConfig alonzoConfig hardforkConfig Nothing

loggingLayer <- mkLoggingLayer nc ptcl
return (loggingLayer, ptcl)
Expand Down

0 comments on commit 85cffec

Please sign in to comment.