Skip to content

Commit

Permalink
Companion for paritytech/cumulus#2287
Browse files Browse the repository at this point in the history
  • Loading branch information
Guantong committed Mar 28, 2023
1 parent c8e5609 commit e42cf68
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 @@ -312,12 +312,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 block_announce_validator =
cumulus_client_network::BlockAnnounceValidator::new(relay_chain_interface.clone(), para_id);
Expand Down

0 comments on commit e42cf68

Please sign in to comment.