Skip to content

Commit 1edca2f

Browse files
committed
WIP
1 parent 3233a4b commit 1edca2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cardano-node/src/Cardano/Node/Configuration/TopologyP2P.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ readTopologyFile
101101

102102
-- make all relative paths in the topology file relative to the topology file location
103103
adjustFilePaths (takeDirectory topologyFilePath </>) <$>
104-
if isGenesisCompatible ncConsensusMode ntUseBootstrapPeers
104+
if isGenesisCompatible ncConsensusMode extraConfig
105105
then pure topology
106106
else do
107107
liftIO $ CT.traceWith tracer $ NetworkConfigUpdateWarning genesisIncompatible
108-
pure $ topology{ntUseBootstrapPeers = DontUseBootstrapPeers}
108+
pure $ topology{extraConfig = DontUseBootstrapPeers}
109109
where
110110
createMsg msg =
111111
"Cardano.Node.Configuration.Topology.readTopologyFile: " <> msg

0 commit comments

Comments
 (0)