aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/simulations/overlay.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/network/simulations/overlay.go')
-rw-r--r--swarm/network/simulations/overlay.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/simulations/overlay.go b/swarm/network/simulations/overlay.go
index 284ae6398..63938809e 100644
--- a/swarm/network/simulations/overlay.go
+++ b/swarm/network/simulations/overlay.go
@@ -86,7 +86,7 @@ func (s *Simulation) NewService(ctx *adapters.ServiceContext) (node.Service, err
addr := network.NewAddr(node)
kp := network.NewKadParams()
- kp.MinProxBinSize = 2
+ kp.NeighbourhoodSize = 2
kp.MaxBinSize = 4
kp.MinBinSize = 1
kp.MaxRetries = 1000