Reputation: 53
I followed the tutorial Simple Asset Chaincode of Hyperledger Fabric Docs, but
when I execute the code go get -u --tags nopkcs11
github.com/hyperledger/fabric/core/chaincode/shim
, I got the
following error message:
package github.com/hyperledger/fabric/core/chaincode/shim: cannot download, http ://gerrit.hyperledger.org/r/fabric uses insecure protocol
How can I solve it? (I have successfully implemented the network using Docker Quickstart Terminal tool on Windows 7)
go build --tags nopkcs11
. Does it mean that the command in question 1 is ignorable?Upvotes: 0
Views: 253
Reputation: 5140
If I ignore the command in question 1, I still can successful build the chaincode when I execute go build --tags nopkcs11. Does it mean that the command in question 1 is ignorable?
No, it just means you probably have this package in your GOPATH already, or that your chaincode does't require to include the shim package in the binary.
Upvotes: 2