Commit 6abb7750 authored by QM's avatar QM

fix fmt

parent 1eae5e9f
...@@ -202,7 +202,8 @@ function start_ebrelayer_and_unlock() { ...@@ -202,7 +202,8 @@ function start_ebrelayer_and_unlock() {
local CLI="./ebcli_$1" local CLI="./ebcli_$1"
local count=0 local count=0
while true; do while true; do
result=$(${CLI} relayer unlock -p ${validatorPwd} | jq -r .isOK) # shellcheck disable=SC2154
result=$(${CLI} relayer unlock -p "${validatorPwd}" | jq -r .isOK)
if [[ ${result} == "true" ]]; then if [[ ${result} == "true" ]]; then
break break
fi fi
...@@ -225,7 +226,7 @@ function start_ebrelayer_and_setpwd_unlock() { ...@@ -225,7 +226,7 @@ function start_ebrelayer_and_setpwd_unlock() {
local CLI="./ebcli_$1" local CLI="./ebcli_$1"
local count=0 local count=0
while true; do while true; do
result=$(${CLI} relayer set_pwd -p ${validatorPwd} | jq -r .isOK) result=$(${CLI} relayer set_pwd -p "${validatorPwd}" | jq -r .isOK)
if [[ ${result} == "true" ]]; then if [[ ${result} == "true" ]]; then
break break
fi fi
...@@ -241,7 +242,7 @@ function start_ebrelayer_and_setpwd_unlock() { ...@@ -241,7 +242,7 @@ function start_ebrelayer_and_setpwd_unlock() {
count=0 count=0
while true; do while true; do
result=$(${CLI} relayer unlock -p ${validatorPwd} | jq -r .isOK) result=$(${CLI} relayer unlock -p "${validatorPwd}" | jq -r .isOK)
if [[ ${result} == "true" ]]; then if [[ ${result} == "true" ]]; then
break break
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment