Commit e52a596e authored by 张振华's avatar 张振华

update

parent 5c53bc4e
......@@ -78,7 +78,7 @@ pokerbull_QueryResult() {
echo "========== # pokerbull query result begin =========="
local req='"method":"Chain33.Query","params":[{"execer":"pokerbull","funcName":"QueryGameByID","payload":{"gameId":"'$GAME_ID'"}}]'
data=$(curl -ksd "{$req}" ${MAIN_HTTP} | jq -r ".result")
ok=$(jq '(.game.gameId == "$GAME_ID")' <<<"$data")
ok=$(jq '(.game.gameId == "'$GAME_ID'")' <<<"$data")
[ "$ok" == true ]
echo_rst "$FUNCNAME" "$?"
......
......@@ -314,7 +314,7 @@ function token_sendExec() {
sendSignedTx
echo_rst "token sendExec sendSignedTx" "$?"
block_wait 1
block_wait 2
queryTransaction ".error | not" "true"
echo_rst "token sendExec queryExecRes" "$?"
......
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