Skip to content

Commit a174d97

Browse files
al3martchungquantin
authored andcommitted
refactor: remove unnecessary network_starter (#544)
refactor: remove network_starter
1 parent f611e64 commit a174d97

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

node/src/service.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ where
213213
let transaction_pool = params.transaction_pool.clone();
214214
let import_queue_service = params.import_queue.service();
215215

216-
let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) =
216+
let (network, system_rpc_tx, tx_handler_controller, sync_service) =
217217
build_network(BuildNetworkParams {
218218
parachain_config: &parachain_config,
219219
net_config,
@@ -349,8 +349,6 @@ where
349349
)?;
350350
}
351351

352-
start_network.start_network();
353-
354352
Ok((task_manager, client))
355353
}
356354

0 commit comments

Comments
 (0)