Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid operation: kr == nil (mismatched types csr.KeyRequest and nil) #28

Open
treasersimplifies opened this issue Jun 3, 2020 · 0 comments

Comments

@treasersimplifies
Copy link

treasersimplifies commented Jun 3, 2020

My Go Version:

go version go1.14.4 darwin/amd64

When I go get github.com/securekey/fabric-examples/fabric-cli/cmd/fabric-cli I get to following error:

# github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric-ca/util
../../../Dev/src/github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric-ca/util/csp.go:46:8: invalid operation: kr == nil (mismatched types csr.KeyRequest and nil)
../../../Dev/src/github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric-ca/util/csp.go:119:37: cannot use req.KeyRequest (type *csr.KeyRequest) as type csr.KeyRequest in argument to getBCCSPKeyOpts
# github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/core/operations
../../../Dev/src/github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/core/operations/system.go:227:23: not enough arguments in call to s.statsd.SendLoop
	have (<-chan time.Time, string, string)
	want (context.Context, <-chan time.Time, string, string)

Does that means the version of fabric related packages is not right?

../../../Dev is my GOPATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant