diff --git a/node/src/service.rs b/node/src/service.rs index 639a6e1131a00d41030e76ac2f2af78a3151f813..e52f1f1279777fce70b21e406f9192add40285f6 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -102,27 +102,6 @@ pub enum RuntimeType { GTest, } -/*/// Can be called for a `Configuration` to check if it is a configuration for -/// a particular runtime type. -pub trait IdentifyRuntimeType { - /// Returns the runtime type - fn runtime_type(&self) -> RuntimeType; -}*/ - -/*impl IdentifyRuntimeType for Box<dyn sc_chain_spec::ChainSpec> { - fn runtime_type(&self) -> RuntimeType { - if self.id().starts_with("g1") { - RuntimeType::G1 - } else if self.id().starts_with("dev") || self.id().starts_with("gdev") { - RuntimeType::GDev - } else if self.id().starts_with("gtest") { - RuntimeType::GTest - } else { - panic!("unknown runtime") - } - } -}*/ - /// Builds a new object suitable for chain operations. #[allow(clippy::type_complexity)] pub fn new_chain_ops(