Change the value of tag --address-validator

When doing gaiacli stake delegate/unbond/delegation, --address-validator should get the address of the validator, not the validator pubkey.
This commit is contained in:
Sherry Ma 2018-06-22 17:48:52 +08:00 committed by GitHub
parent ec6acda6a4
commit 04c2071824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -320,7 +320,7 @@ On the testnet, we delegate `steak` instead of `atom`. Here's how you can bond t
gaiacli stake delegate \ gaiacli stake delegate \
--amount=10steak \ --amount=10steak \
--address-delegator=<account_cosmosaccaddr> \ --address-delegator=<account_cosmosaccaddr> \
--address-validator=$(gaiad tendermint show_validator) \ --address-validator=<validator_cosmosaccaddr> \
--name=<key_name> \ --name=<key_name> \
--chain-id=gaia-6002 --chain-id=gaia-6002
``` ```
@ -336,7 +336,7 @@ If for any reason the validator misbehaves, or you want to unbond a certain amou
```bash ```bash
gaiacli stake unbond \ gaiacli stake unbond \
--address-delegator=<account_cosmosaccaddr> \ --address-delegator=<account_cosmosaccaddr> \
--address-validator=$(gaiad tendermint show_validator) \ --address-validator=<validator_cosmosaccaddr> \
--shares=MAX \ --shares=MAX \
--name=<key_name> \ --name=<key_name> \
--chain-id=gaia-6002 --chain-id=gaia-6002
@ -349,7 +349,7 @@ gaiacli account <account_cosmosaccaddr>
gaiacli stake delegation \ gaiacli stake delegation \
--address-delegator=<account_cosmosaccaddr> \ --address-delegator=<account_cosmosaccaddr> \
--address-validator=$(gaiad tendermint show_validator) \ --address-validator=<validator_cosmosaccaddr> \
--chain-id=gaia-6002 --chain-id=gaia-6002
``` ```