From 87e7f378ec000794318cc6c314a65e5bcec2792a Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Thu, 28 Dec 2023 18:57:21 +0530 Subject: [PATCH] fix create-validator script --- charts/devnet/scripts/default/create-validator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/devnet/scripts/default/create-validator.sh b/charts/devnet/scripts/default/create-validator.sh index 08ad4b79b..273d67f61 100644 --- a/charts/devnet/scripts/default/create-validator.sh +++ b/charts/devnet/scripts/default/create-validator.sh @@ -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