Commit 75bb0e02 authored by yingqiumin@126.com's avatar yingqiumin@126.com

improve rpc test

parents 8e64c053 e063f903
...@@ -19,7 +19,7 @@ source ../dapp-test-common.sh ...@@ -19,7 +19,7 @@ source ../dapp-test-common.sh
function chain33_GetExecAddr() { function chain33_GetExecAddr() {
#获取GAME合约地址 #获取GAME合约地址
req='{"method":"Chain33.ConvertExectoAddr","params":[{"execname":"'"$1"'"}]}' req='{"method":"Chain33.ConvertExectoAddr","params":[{"execname":"'"$1"'"}]}'
chain33_Http "$req" ${MAIN_HTTP} '(.error|not) and (.result != null)' "$FUNCNAME" chain33_Http "$req" ${MAIN_HTTP} '(.error|not) and (.result != null)' "$FUNCNAME"
} }
function CreateGameTx() { function CreateGameTx() {
......
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