Commit 95c421c8 authored by heyubin's avatar heyubin Committed by vipwzw

add by hyb for test

parent 96ae7997
...@@ -55,11 +55,10 @@ func TestParaNode(t *testing.T) { ...@@ -55,11 +55,10 @@ func TestParaNode(t *testing.T) {
para.Para.SendTxRPC(tx) para.Para.SendTxRPC(tx)
para.Para.WaitHeight(int64(i) + 1) para.Para.WaitHeight(int64(i) + 1)
} }
testParaQuery(para)
} }
func TestParaQuery(t *testing.T) { func testParaQuery(para *node.ParaNode) {
para := node.NewParaNode(nil, nil)
defer para.Close()
var param types.ReqWalletImportPrivkey var param types.ReqWalletImportPrivkey
param.Label = "Importprivkey" param.Label = "Importprivkey"
......
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