Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

cmd/hcd compile error using go build #780

Open
nifflin opened this issue Oct 16, 2018 · 1 comment
Open

cmd/hcd compile error using go build #780

nifflin opened this issue Oct 16, 2018 · 1 comment

Comments

@nifflin
Copy link

nifflin commented Oct 16, 2018

after running command "go build" under cmd/hcd folder

../../node.go:409:27: not enough arguments in call to peerstore.NewPeerstore have () want (peerstore.KeyBook, peerstore.AddrBook, peerstore.PeerMetadata) ../../node.go:439:15: undefined: swarm.NewNetwork

These two libraries updated their API a fews days ago.
github.com/libp2p/go-libp2p-peerstore
github.com/libp2p/go-libp2p-swarm

@nifflin
Copy link
Author

nifflin commented Oct 17, 2018

I have fixed it:

#781

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

No branches or pull requests

1 participant