aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/simulation/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/network/simulation/service.go')
-rw-r--r--swarm/network/simulation/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/simulation/service.go b/swarm/network/simulation/service.go
index d1cbf1f8b..02e7ad0cc 100644
--- a/swarm/network/simulation/service.go
+++ b/swarm/network/simulation/service.go
@@ -39,7 +39,7 @@ func (s *Simulation) Service(name string, id discover.NodeID) node.Service {
// RandomService returns a single Service by name on a
// randomly chosen node that is up.
func (s *Simulation) RandomService(name string) node.Service {
- n := s.randomUpNode()
+ n := s.RandomUpNode()
if n == nil {
return nil
}