Commit ade916bb authored by heyubin's avatar heyubin

add by hyb for test

parent ec3026e1
......@@ -334,7 +334,7 @@ func NormPut(privkey string, key string, value string) {
tx := &types.Transaction{Execer: []byte("norm"), Payload: types.Encode(action), Fee: fee}
tx.To = address.ExecAddress("norm")
tx.Nonce = r.Int63()
version, _ := c.Version()
version, _ := mainClient.Version(context.Background(), nil)
tx.ChainID = version.ChainID
tx.Sign(types.SECP256K1, getprivkey(privkey))
......
......@@ -223,7 +223,7 @@ func ConfigManager() {
tx := &types.Transaction{Execer: []byte("manage"), Payload: types.Encode(modify), Fee: fee}
tx.To = address.ExecAddress("manage")
tx.Nonce = r.Int63()
version, _ := c.Version()
version, _ := mainClient.Version(context.Background(), nil)
tx.ChainID = version.ChainID
tx.Sign(types.SECP256K1, getprivkey("CC38546E9E659D15E6B4893F0AB32A06D103931A8230B0BDE71459D2B27D6944"))
......
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