Fix the browser light client (#892)

* Fix browser node

* Use feature instead
This commit is contained in:
Ashley
2020-03-10 14:29:28 +01:00
committed by GitHub
parent e98826977d
commit 5ef0597e79
4 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ async fn start_inner(chain_spec: String, wasm_ext: browser_utils::Transport) ->
info!("Roles: {:?}", config.roles);
// Create the service. This is the most heavy initialization step.
let service = service::kusama_new_light(config, None).map_err(|e| format!("{:?}", e))?;
let service = service::kusama_new_light(config).map_err(|e| format!("{:?}", e))?;
Ok(browser_utils::start_client(service))
}