Skip to content

Commit

Permalink
Merge pull request #671 from ava-labs/fix-remove-validator-doc
Browse files Browse the repository at this point in the history
fix control examples for remove validator
  • Loading branch information
felipemadero authored Nov 8, 2023
2 parents 4a90930 + e8b04ac commit 395cc1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ To remove a node as a permissioned validator from a Subnet:
curl -X POST -k http://localhost:8081/v1/control/removesubnetvalidator -d '[{"subnetId": "'$SUBNET_ID'", "nodeNames":["node1"]}]'

# or
avalanche-network-runner control remove-subnet-validator '[{"subnetId": "'$SUBNET_ID'", "nodeNames":["node1"]}]'
avalanche-network-runner control remove-subnet-validator '[{"subnet_id": "'$SUBNET_ID'", "node_names":["node1"]}]'
```

To delegate stake in a permissionless validator in an Elastic Subnet:
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ avalanche-network-runner control remove-subnet-validator removeValidatorSpec [op
cli
```sh
avalanche-network-runner control remove-subnet-validator '[{"subnetId": "p433wpuXyJiDhyazPYyZMJeaoPSW76CBZ2x7wrVPLgvokotXz", "nodeNames":["node1"]}]'
avalanche-network-runner control remove-subnet-validator '[{"subnet_id": "p433wpuXyJiDhyazPYyZMJeaoPSW76CBZ2x7wrVPLgvokotXz", "node_names":["node1"]}]'
```
curl
Expand Down

0 comments on commit 395cc1e

Please sign in to comment.