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下载相应的包,国内的话可能因为墙的问题,不太好下载,要费点事。

祝学习愉快!


0
0

Hyperledger Fabric实战联盟链-企业端区块链原理精讲

兼顾区块链应用层和底层 进击区块链工程师

787 学习 · 564 问题

查看课程