jjzjj

ChaincodeStubInterface

全部标签

go - go 中的链码 - Hyperledger v 1.0 - 返回的参数太多

我在Hyperledger中运行我的Chaincode程序之一时遇到错误堆栈。我正在尝试构建一个小型应用程序,它将插入用户名和状态的键值对,并使用它我可以从分类帐中插入或读取值:gobuild#_/home/ubuntu/go/src/Chaincodeexample./Samplesupplychain.go:28:9:toomanyargumentstoreturnhave(nil,error)want(peer.Response)....这适用于我代码中的所有其他功能,最后的功能如下:./Samplesupplychain.go:80:33:toomanyargumentsinc