Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed May 22, 2023
1 parent e45bca6 commit 0511f10
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions node/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,7 @@ where
hwbench.clone(),
)
.await
.map_err(|e| match e {
cumulus_relay_chain_interface::RelayChainError::ServiceError(
polkadot_service::Error::Sub(x),
) => x,
s => s.to_string().into(),
})?;
.map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?;

let force_authoring = parachain_config.force_authoring;
let validator = parachain_config.role.is_authority();
Expand Down

0 comments on commit 0511f10

Please sign in to comment.