From b01d5a000dae823c46d3eb22ccf499d1b5cee157 Mon Sep 17 00:00:00 2001 From: Gin Date: Fri, 16 Aug 2024 01:40:48 -0500 Subject: [PATCH] refactor(scripts): remove unused variable (#21320) --- scripts/validate-gentxs.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/validate-gentxs.sh b/scripts/validate-gentxs.sh index 7ab14f47561e..42640199973a 100755 --- a/scripts/validate-gentxs.sh +++ b/scripts/validate-gentxs.sh @@ -107,7 +107,6 @@ if [ "$(ls -A $GENTXS_DIR)" ]; then GENACC=$(cat $GENTX_FILE | sed -n 's|.*"delegator_address":"\([^"]*\)".*|\1|p') denomquery=$(jq -r '.body.messages[0].value.denom' $GENTX_FILE) - amountquery=$(jq -r '.body.messages[0].value.amount' $GENTX_FILE) # only allow $DENOM tokens to be bonded if [ $denomquery != $DENOM ]; then