From bfce00385f1c8dab222b7ddab6c336177a5ae731 Mon Sep 17 00:00:00 2001 From: Viktor TrĂ³n Date: Wed, 12 Sep 2018 11:24:56 +0200 Subject: Kademlia refactor (#17641) * swarm/network: simplify kademlia/hive; rid interfaces * swarm, swarm/network/stream, swarm/netork/simulations,, swarm/pss: adapt to new Kad API * swarm/network: minor changes re review; add missing lock to NeighbourhoodDepthC --- swarm/network/discovery_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swarm/network/discovery_test.go') diff --git a/swarm/network/discovery_test.go b/swarm/network/discovery_test.go index 0427d81ca..494bc8196 100644 --- a/swarm/network/discovery_test.go +++ b/swarm/network/discovery_test.go @@ -33,7 +33,7 @@ func TestDiscovery(t *testing.T) { id := s.IDs[0] raddr := NewAddrFromNodeID(id) - pp.Register([]OverlayAddr{OverlayAddr(raddr)}) + pp.Register(raddr) // start the hive and wait for the connection pp.Start(s.Server) -- cgit