Commit 48d941f6 authored by QM's avatar QM Committed by vipwzw

updata

parent 6eaa506c
...@@ -55,7 +55,7 @@ ticket_TicketList() { ...@@ -55,7 +55,7 @@ ticket_TicketList() {
resok='(.error|not) and (.result.tickets | length > 0) and (.result.tickets[0].minerAddress == "'"$minerAddr"'") and (.result.tickets[0].returnAddress == "'"$returnAddr"'") and (.result.tickets[0].status == '"$status"')' resok='(.error|not) and (.result.tickets | length > 0) and (.result.tickets[0].minerAddress == "'"$minerAddr"'") and (.result.tickets[0].returnAddress == "'"$returnAddr"'") and (.result.tickets[0].status == '"$status"')'
chain33_Http "$req" ${MAIN_HTTP} "$resok" "$FUNCNAME" chain33_Http "$req" ${MAIN_HTTP} "$resok" "$FUNCNAME"
ticket0=$(echo "${RETURN_RESP}" | jq -r ".result.tickets[0]") #ticket0=$(echo "${RETURN_RESP}" | jq -r ".result.tickets[0]")
#echo -e "######\\n ticket[0] is $ticket0) \\n######" #echo -e "######\\n ticket[0] is $ticket0) \\n######"
ticketId=$(echo "${RETURN_RESP}" | jq -r ".result.tickets[0].ticketId") ticketId=$(echo "${RETURN_RESP}" | jq -r ".result.tickets[0].ticketId")
#echo -e "######\\n ticketId is $ticketId \\n######" #echo -e "######\\n ticketId is $ticketId \\n######"
......
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