Commit 16d381fc authored by 张振华's avatar 张振华

update

parents 9b556ef1 5645f932
...@@ -149,4 +149,5 @@ chain33_QueryExecBalance() { ...@@ -149,4 +149,5 @@ chain33_QueryExecBalance() {
echo "#response: $resp" echo "#response: $resp"
ok=$(jq '(.error|not) and (.result[0] | [has("balance", "frozen"), true] | unique | length == 1)' <<<"$resp") ok=$(jq '(.error|not) and (.result[0] | [has("balance", "frozen"), true] | unique | length == 1)' <<<"$resp")
[ "$ok" == true ] [ "$ok" == true ]
} }
\ No newline at end of file
...@@ -124,7 +124,6 @@ guess_QueryGameByID() { ...@@ -124,7 +124,6 @@ guess_QueryGameByID() {
echo "========== # guess QueryGameByID end ==========" echo "========== # guess QueryGameByID end =========="
} }
init() { init() {
ispara=$(echo '"'"${MAIN_HTTP}"'"' | jq '.|contains("8901")') ispara=$(echo '"'"${MAIN_HTTP}"'"' | jq '.|contains("8901")')
echo "ipara=$ispara" echo "ipara=$ispara"
...@@ -147,7 +146,6 @@ init() { ...@@ -147,7 +146,6 @@ init() {
chain33_BlockWait 1 "${MAIN_HTTP}" chain33_BlockWait 1 "${MAIN_HTTP}"
} }
function run_test() { function run_test() {
#导入地址私钥 #导入地址私钥
...@@ -174,7 +172,6 @@ function run_test() { ...@@ -174,7 +172,6 @@ function run_test() {
#查询游戏状态 #查询游戏状态
guess_QueryGameByID "$eventId" 12 guess_QueryGameByID "$eventId" 12
#用户2下注 #用户2下注
guess_game_bet "2116459C0EC8ED01AA0EEAE35CAC5C96F94473F7816F114873291217303F6989" "B" guess_game_bet "2116459C0EC8ED01AA0EEAE35CAC5C96F94473F7816F114873291217303F6989" "B"
......
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