Commit 4d3c6119 authored by huanyu's avatar huanyu

返回值错误 修改

parent 95b3e9c3
...@@ -32,7 +32,7 @@ func FilecoinSignRawTx(wifPriKey string, nonce string, toAccount string, value s ...@@ -32,7 +32,7 @@ func FilecoinSignRawTx(wifPriKey string, nonce string, toAccount string, value s
SignedTx: result, SignedTx: result,
} }
jsonStr, _ := json.Marshal(signInfo) jsonStr, _ := json.Marshal(signInfo)
return C.string(jsonStr) return C.CString(string(jsonStr))
} }
func main() { func main() {
......
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