Commit 315bd470 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

handler fixes for tests

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