Commit b30dd47a authored by Juan Batiz-Benet's avatar Juan Batiz-Benet Committed by Brian Tiger Chow

Peerstore fix (ptr to iface)

parent 81b4b381
......@@ -36,7 +36,7 @@ type IpfsNode struct {
Identity *peer.Peer
// storage for other Peer instances
Peerstore *peer.Peerstore
Peerstore peer.Peerstore
// the local datastore
Datastore ds.Datastore
......@@ -135,7 +135,7 @@ func NewIpfsNode(cfg *config.Config, online bool) (*IpfsNode, error) {
return &IpfsNode{
Config: cfg,
Peerstore: &peerstore,
Peerstore: peerstore,
Datastore: d,
Blocks: bs,
DAG: dag,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment