mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-23 17:28:23 +00:00
fix: select correct runtime in Libp2p branch for testnet and stagenet (#157)
Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
This commit is contained in:
parent
9c961a2bf7
commit
7c5e3459dc
1 changed files with 4 additions and 4 deletions
|
|
@ -335,16 +335,16 @@ pub fn run() -> sc_cli::Result<()> {
|
|||
}
|
||||
ref spec if spec.is_testnet() => {
|
||||
service::new_full::<
|
||||
datahaven_mainnet_runtime::Runtime,
|
||||
datahaven_mainnet_runtime::RuntimeApi,
|
||||
datahaven_testnet_runtime::Runtime,
|
||||
datahaven_testnet_runtime::RuntimeApi,
|
||||
sc_network::NetworkWorker<_, _>,
|
||||
>(config, cli.eth, provider_options)
|
||||
.await
|
||||
}
|
||||
_ => {
|
||||
service::new_full::<
|
||||
datahaven_mainnet_runtime::Runtime,
|
||||
datahaven_mainnet_runtime::RuntimeApi,
|
||||
datahaven_stagenet_runtime::Runtime,
|
||||
datahaven_stagenet_runtime::RuntimeApi,
|
||||
sc_network::NetworkWorker<_, _>,
|
||||
>(config, cli.eth, provider_options)
|
||||
.await
|
||||
|
|
|
|||
Loading…
Reference in a new issue