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

Commit 9f1d88bc authored by Devin Zeng's avatar Devin Zeng 👽

fix native return result 'ok' bug

parent 26fe87a3
...@@ -35,9 +35,9 @@ func ResultBytesAndError(returnResult []byte, err error) *common.ContractResult ...@@ -35,9 +35,9 @@ func ResultBytesAndError(returnResult []byte, err error) *common.ContractResult
ContractEvent: nil, ContractEvent: nil,
} }
} }
if len(returnResult) == 0 { //if len(returnResult) == 0 {
returnResult = []byte("ok") // returnResult = []byte("ok")
} //}
return &common.ContractResult{ return &common.ContractResult{
Code: 0, Code: 0,
Result: returnResult, Result: returnResult,
......
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