Fix basecli --chainid to --chain-id

This commit is contained in:
Ethan Frey 2017-06-15 20:29:26 +02:00
parent 1a1d5d4c74
commit 3c18c33e92
4 changed files with 4 additions and 4 deletions

View File

@ -66,7 +66,7 @@ initServer() {
initClient() {
echo "Attaching client..."
# hard-code the expected validator hash
basecli init --chainid=test_chain_id --node=tcp://localhost:46657 --valhash=EB168E17E45BAEB194D4C79067FFECF345C64DE6
basecli init --chain-id=test_chain_id --node=tcp://localhost:46657 --valhash=EB168E17E45BAEB194D4C79067FFECF345C64DE6
assertTrue "initialized light-client" $?
}

View File

@ -21,7 +21,7 @@ Just initialize your client with the proper validator set as in the [README](REA
```
$ export BCHOME=~/.lightnode
$ basecli init --node tcp://<host>:<port> --chainid <chain>
$ basecli init --node tcp://<host>:<port> --chain-id <chain>
```
## Running

View File

@ -40,7 +40,7 @@ $ basecoin start
## Connect your basecli the first time
```
% basecli init --chainid test_chain_id --node tcp://localhost:46657
% basecli init --chain-id test_chain_id --node tcp://localhost:46657
```
## Check your balances...

2
glide.lock generated
View File

@ -127,7 +127,7 @@ imports:
- data
- data/base58
- name: github.com/tendermint/light-client
version: 83bede2a7f150fc7f8aedde1aecd30d2bdf043e8
version: 4ad913f2728307ec13a3b602b040c29b6a2117b8
subpackages:
- certifiers
- certifiers/client