Commit 938d11dd authored by 袁邓@五瓣科技's avatar 袁邓@五瓣科技

ceshixinxi

parent 02e69ef0
...@@ -15,7 +15,7 @@ func splitPath(key string) []string { ...@@ -15,7 +15,7 @@ func splitPath(key string) []string {
return strings.Split(key, "/") return strings.Split(key, "/")
} }
//解析前端数据 证书验证 和 签名验证 //解析前端数据 证书验证 和 签名验证 撒大声地所多所多多所多所多
func messageToTrans(operation TxType,args []string,stub shim.ChaincodeStubInterface) (*Trans,*Message, string ,error) { func messageToTrans(operation TxType,args []string,stub shim.ChaincodeStubInterface) (*Trans,*Message, string ,error) {
if len(args) != 3 { if len(args) != 3 {
return nil,nil, "",fmt.Errorf("put data operation expected more than 3 parameters! ") return nil,nil, "",fmt.Errorf("put data operation expected more than 3 parameters! ")
......
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