Skip to content

Commit

Permalink
fix create-validator script
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Dec 28, 2023
1 parent c8522b9 commit 87e7f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/devnet/scripts/default/create-validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function cosmos-sdk-version-default() {
# Run create validator tx command
echo "Running txn for create-validator"
args=""
if [[ $($CHAIN_BIN tx staking create-validator --help | grep "min-self-delegation" -c) -gt 0 ]];
if [[ $($CHAIN_BIN tx staking create-validator --help | grep -c "min-self-delegation") -gt 0 ]];
then
args+="--min-self-delegation=\"1000000\""
fi
Expand Down

0 comments on commit 87e7f37

Please sign in to comment.