fix a bug for shellcheck
@@ -236,10 +236,10 @@ function tx_wait() {
exit 1
fi
local req=\"${2}\"
- local txhash=$(${1} tx query -s ${2} | jq ".tx.hash")
+ local txhash=$(${1} tx query -s "${2}" | jq ".tx.hash")
local count=0
while true; do
- txhash=$(${1} tx query -s ${2} | jq ".tx.hash")
+ txhash=$(${1} tx query -s "${2}" | jq ".tx.hash")
if [ "${txhash}" != "${req}" ]; then
count=$((count + 1))
echo "${txhash}" "${req}" "${count}"
