Commit 96e76747 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

handler fixes for tests

parent 2d707721
...@@ -39,7 +39,7 @@ func setupDHT(t *testing.T, p *peer.Peer) *IpfsDHT { ...@@ -39,7 +39,7 @@ func setupDHT(t *testing.T, p *peer.Peer) *IpfsDHT {
} }
d := NewDHT(p, peerstore, net, dhts, ds.NewMapDatastore()) d := NewDHT(p, peerstore, net, dhts, ds.NewMapDatastore())
dhts.Handler = d dhts.SetHandler(d)
return d return d
} }
......
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