Commit 39a7e5ad authored by vipwzw's avatar vipwzw

auto ci

parent cb448874
......@@ -117,7 +117,6 @@ function para_transfer() {
para_transfer2exec "0x4257D8692EF7FE13C68B65D6A52F03933DB2FA5CE8FAF210B5B8B80C721CED01" "relay"
block_wait "${CLI}" 2
# para_create_manage_nodegroup
para_create_nodegroup
......
......@@ -69,8 +69,8 @@ Chain33_SendToAddress() {
ok=$(jq '(.error|not) and (.result.hash|length==66)' <<<"$resp")
[ "$ok" == true ]
echo_rst "$FUNCNAME" "$?"
# hash=$(jq '(.result.hash)' <<<"$resp")
# query_tx "$hash"
# hash=$(jq '(.result.hash)' <<<"$resp")
# query_tx "$hash"
}
......@@ -268,7 +268,7 @@ init() {
ispara=$(echo '"'"${MAIN_HTTP}"'"' | jq '.|contains("8901")')
echo "ipara=$ispara"
local relay_addr=""
if [ "$ispara" == true ];then
if [ "$ispara" == true ]; then
relay_addr=$(curl -ksd '{"method":"Chain33.ConvertExectoAddr","params":[{"execname":"user.p.para.relay"}]}' ${MAIN_HTTP} | jq -r ".result")
else
relay_addr=$(curl -ksd '{"method":"Chain33.ConvertExectoAddr","params":[{"execname":"relay"}]}' ${MAIN_HTTP} | jq -r ".result")
......
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