Skip to content

Commit

Permalink
Fix byron-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
nc6 committed Jul 17, 2019
1 parent ad4f2b0 commit 8463753
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion byron-proxy/src/exec/Validator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import qualified Cardano.Chain.Genesis as Genesis
import Cardano.Chain.ValidationMode (fromBlockValidationMode)
import Cardano.Crypto (RequiresNetworkMagic(..), decodeAbstractHash)

import Cardano.Shell.Configuration.Lib (finaliseCardanoConfiguration)
import Cardano.Shell.Constants.Types (CardanoConfiguration (..), Core (..), Genesis (..))
import Cardano.Shell.Presets (mainnetConfiguration)

Expand Down Expand Up @@ -133,7 +134,7 @@ main = do
Logging.withLogging (loggerConfigPath opts) "validator" $ \trace_ -> do
let trace = Logging.convertTrace' trace_
-- Hard-code to mainnet configuration.
cc = mainnetConfiguration
Right cc = finaliseCardanoConfiguration mainnetConfiguration
mainnetGenFilepath = case overrideGenesisJson opts of
Nothing -> geSrc . coGenesis $ ccCore cc
Just fp -> fp
Expand Down

0 comments on commit 8463753

Please sign in to comment.