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

update

parent 50c516ba
...@@ -25,7 +25,6 @@ echo_rst() { ...@@ -25,7 +25,6 @@ echo_rst() {
} }
saveSeed() { saveSeed() {
seed="journey notable narrow few bar stuff notable custom miss brother attend tongue price theme resist" seed="journey notable narrow few bar stuff notable custom miss brother attend tongue price theme resist"
req='{"method":"Chain33.SaveSeed", "params":[{"seed":"'"$seed"'", "passwd": "1314fuzamei"}]}' req='{"method":"Chain33.SaveSeed", "params":[{"seed":"'"$seed"'", "passwd": "1314fuzamei"}]}'
resp=$(curl -ksd "$req" "${MAIN_HTTP}") resp=$(curl -ksd "$req" "${MAIN_HTTP}")
...@@ -252,12 +251,12 @@ function run_test() { ...@@ -252,12 +251,12 @@ function run_test() {
sendTransaction sendTransaction
block_wait 1 block_wait 1
queryBalance $addr_A queryBalance "$addr_A"
queryBalance $addr_B queryBalance "$addr_B"
#用户地址向合约转账,确保可以参与游戏 #用户地址向合约转账,确保可以参与游戏
sendToExec $addr_A sendToExec "$addr_A"
sendToExec $addr_B sendToExec "$addr_B"
block_wait 2 block_wait 2
...@@ -269,8 +268,8 @@ function run_test() { ...@@ -269,8 +268,8 @@ function run_test() {
#查询交易 #查询交易
queryTransaction "$txhash" queryTransaction "$txhash"
queryBalance $addr_A queryBalance "$addr_A"
queryBalance $addr_B queryBalance "$addr_B"
#send #send
hashlock_send hashlock_send
...@@ -280,8 +279,8 @@ function run_test() { ...@@ -280,8 +279,8 @@ function run_test() {
#查询交易 #查询交易
queryTransaction "$txhash" queryTransaction "$txhash"
queryBalance $addr_A queryBalance "$addr_A"
queryBalance $addr_B queryBalance "$addr_B"
#unlock failed #unlock failed
hashlock_unlock hashlock_unlock
...@@ -291,8 +290,8 @@ function run_test() { ...@@ -291,8 +290,8 @@ function run_test() {
#查询交易 #查询交易
queryTransaction "$txhash" queryTransaction "$txhash"
queryBalance $addr_A queryBalance "$addr_A"
queryBalance $addr_B queryBalance "$addr_B"
#lock #lock
hashlock_lock hashlock_lock
......
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