新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit 5e588956 authored by gh lu's avatar gh lu

fix: get tx info error

--bug=0
parent 24ce2b84
...@@ -80,6 +80,21 @@ func initConfig() error { ...@@ -80,6 +80,21 @@ func initConfig() error {
}, },
} }
if len(os.Args) > 9 {
sendSize, err := strconv.Atoi(os.Args[8])
sendByteSize := sendSize * 1024 * 1024
if err == nil {
config.ContractEngineClient.MaxSendMsgSize = sendByteSize
config.RuntimeClient.MaxSendMsgSize = sendByteSize
}
recvSize, err := strconv.Atoi(os.Args[9])
recvByteSize := recvSize * 1024 * 1024
if err == nil {
config.ContractEngineClient.MaxRecvMsgSize = recvByteSize
config.RuntimeClient.MaxRecvMsgSize = recvByteSize
}
}
port, err := strconv.Atoi(os.Args[5]) port, err := strconv.Atoi(os.Args[5])
if err != nil { if err != nil {
return err return err
......
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