Newer
Older
new_full::<kusama_runtime::RuntimeApi, KusamaExecutor>(
config,
is_collator,
Default::default(),
).map(|full| full.with_client(Client::Kusama))
} else if config.chain_spec.is_westend() {
new_full::<westend_runtime::RuntimeApi, WestendExecutor>(
config,
is_collator,
Default::default(),
).map(|full| full.with_client(Client::Westend))
} else {
new_full::<polkadot_runtime::RuntimeApi, PolkadotExecutor>(
config,
is_collator,
Default::default(),
).map(|full| full.with_client(Client::Polkadot))