Fix cli/browser.rs and allow selecting a chainspec on wasm. (#815)

* Fix browser.rs

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Ashley
2020-02-01 17:32:52 +01:00
committed by GitHub
parent 2e3dd801b9
commit 7e4e4108a6
4 changed files with 25 additions and 21 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ async function start() {
// Build our client.
log('Starting client');
let client = await start_client(ws());
let client = await start_client('westend', ws());
log('Client started');
client.rpcSubscribe('{"method":"chain_subscribeNewHead","params":[],"id":1,"jsonrpc":"2.0"}',