Skip to content

Commit

Permalink
fix control examples for remove validator
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Nov 8, 2023
1 parent 4a90930 commit e8b04ac
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 e8b04ac

Please sign in to comment.