aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/discovery_test.go
diff options
context:
space:
mode:
authorViktor TrĂ³n <viktor.tron@gmail.com>2018-09-12 17:24:56 +0800
committerBalint Gabor <balint.g@gmail.com>2018-09-12 17:24:56 +0800
commitbfce00385f1c8dab222b7ddab6c336177a5ae731 (patch)
tree8b3d2b2ce30e8b5eaf6db5b89a6c5570c3997cff /swarm/network/discovery_test.go
parentb06ff563a1f1095407612e04a1707e13d2dc20da (diff)
downloadgo-tangerine-bfce00385f1c8dab222b7ddab6c336177a5ae731.tar.gz
go-tangerine-bfce00385f1c8dab222b7ddab6c336177a5ae731.tar.zst
go-tangerine-bfce00385f1c8dab222b7ddab6c336177a5ae731.zip
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
Diffstat (limited to 'swarm/network/discovery_test.go')
-rw-r--r--swarm/network/discovery_test.go2
1 files changed, 1 insertions, 1 deletions
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)