Skip to content

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

@0xtresser

Description

@0xtresser

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions