sdk 包是不是有问题啊
来源:7-11 案例实战外部服务A

qq_Wing_mEFLM9
2018-09-05
../../github.com/hyperledger/fabric-sdk-go/pkg/fab/comm/connector.go:148:10: conn.GetState undefined (type *grpc.ClientConn has no field or method GetState)
../../github.com/hyperledger/fabric-sdk-go/pkg/fab/comm/connector.go:172:12: c.conn.GetState undefined (type *grpc.ClientConn has no field or method GetState)
../../github.com/hyperledger/fabric-sdk-go/pkg/fab/comm/connector.go:228:16: conn.GetState undefined (type *grpc.ClientConn has no field or method GetState)
../../github.com/hyperledger/fabric-sdk-go/pkg/fab/comm/connector.go:232:11: conn.WaitForStateChange undefined (type *grpc.ClientConn has no field or method WaitForStateChange)
../../github.com/hyperledger/fabric-sdk-go/pkg/fab/comm/connector.go:258:17: conn.GetState undefined (type *grpc.ClientConn has no field or method GetState)
1回答
-
自游蜗牛
2018-09-06
亲,你好。
应该是grpc的依赖包没下载。你可以使用go get下载相应的包,国内的话可能因为墙的问题,不太好下载,要费点事。
祝学习愉快!
00
相似问题