Skip to content

Commit e7f639e

Browse files
committed
Fixed bug to correctly create a new network when network config is not given
1 parent 6853e96 commit e7f639e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simulaqron/run/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def run_sim_backend(node_names: List[str], sim_backend: SimBackend, network_conf
7171
logger.debug("Starting simulaqron sim_backend process with nodes %s", node_names)
7272
check_sim_backend(sim_backend)
7373
simulaqron_settings.sim_backend = sim_backend.value
74-
new_network = False if network_config_file is None else True
74+
new_network = True if network_config_file is None else False
7575
network = Network(
7676
name="default",
7777
nodes=node_names,

0 commit comments

Comments
 (0)