通过在Hyperledger中运行我的Chaincode程序之一,我正在错误堆栈以下。我正在尝试构建一个小型应用程序,该应用程序将插入用户名和状态的键值对,并使用它可以插入或读取分类帐中的值:go build# _/home/ubuntu/go/src/Chaincodeexample./Samplesupplychain.go:28:9: too many arguments to return have (nil, error) want (peer.Response)....对于我代码中的所有其他功能,此操作继续进行,最终功能如下: ./Samplesupplychain.go:80:33: too many arguments in call to Checkuploadstatus have (shim.ChaincodeStubInterface, []string) want (shim.ChaincodeStubInterface)./Samplesupplychain.go:90:26: too many arguments in call to CreateUser have (shim.ChaincodeStubInterface, []string) want (shim.ChaincodeStubInterface)./Samplesupplychain.go:92:36: undefined: username./Samplesupplychain.go:92:36: too many errors任何帮助将不胜感激,因为我目前正在使用Hyperledger v 1.0.0
2 回答
- 2 回答
- 0 关注
- 356 浏览
添加回答
举报
0/150
提交
取消