Commit be6003d7 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

update net with peerstore

parent 0094145c
...@@ -31,7 +31,7 @@ func setupDHT(t *testing.T, p *peer.Peer) *IpfsDHT { ...@@ -31,7 +31,7 @@ func setupDHT(t *testing.T, p *peer.Peer) *IpfsDHT {
t.Fatal(err) t.Fatal(err)
} }
net, err := inet.NewIpfsNetwork(ctx, p, &mux.ProtocolMap{ net, err := inet.NewIpfsNetwork(ctx, p, peerstore, &mux.ProtocolMap{
mux.ProtocolID_Routing: dhts, mux.ProtocolID_Routing: dhts,
}) })
if err != nil { if err != nil {
......
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