From a9c02dd96246d2f75dfe481b22722f9719175550 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Tue, 9 Apr 2024 20:36:52 +0800 Subject: [PATCH] [node] minor style change --- node/src/command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index 0d93fc6..fba7ca7 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -321,9 +321,9 @@ pub fn run() -> Result<()> { info!("Parachain Account: {}", parachain_account); info!("Is collating: {}", if config.role.is_authority() { "yes" } else { "no" }); + // We only have one Runtime variant, but maintenance is easier if we use the same code structure. + #[allow(clippy::match_single_binding)] match config.chain_spec.runtime()? { - // We only have one Runtime variant, but maintenance is easier if we use the same code structure. - #[allow(clippy::match_single_binding)] Runtime::Default => { crate::service::start_generic_aura_node(config, polkadot_config, collator_options, id, hwbench) .await