Skip to content

Commit

Permalink
auto ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vipwzw committed Oct 20, 2019
1 parent 5da4226 commit b168f36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/system-test-rpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ chain33_lock() {
}

chain33_unlock() {
http_req '{"method":"Chain33.UnLock","params":[{"passwd":"1314fuzamei","timeout":0}]}' ${MAIN_HTTP} ".result.isOK" "$FUNCNAME"
http_req '{"method":"Chain33.UnLock","params":[{"passwd":"1314fuzamei","timeout":0}]}' ${MAIN_HTTP} ".result.isOK" "$FUNCNAME"
}

chain33_WalletTxList() {
req='"method":"Chain33.WalletTxList", "params":[{"fromTx":"", "count":2, "direction":1}]'
http_req "$req" '(.error|not) and (.result.txDetails|length == 2)' "$FUNCNAME"
http_req "$req" '(.error|not) and (.result.txDetails|length == 2)' "$FUNCNAME"
}

chain33_ImportPrivkey() {
http_req "$req" '(.error|not) and (.result.label=="testimportkey") and (.result.acc.addr == "1D9xKRnLvV2zMtSxSx33ow1GF4pcbLcNRt")' "$FUNCNAME"
http_req "$req" '(.error|not) and (.result.label=="testimportkey") and (.result.acc.addr == "1D9xKRnLvV2zMtSxSx33ow1GF4pcbLcNRt")' "$FUNCNAME"
}

chain33_DumpPrivkey() {
Expand Down

0 comments on commit b168f36

Please sign in to comment.