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 7dd4dc6d8..0ac8149a9 100644
--- a/swarm/network/simulation/service.go
+++ b/swarm/network/simulation/service.go
@@ -52,7 +52,7 @@ func (s *Simulation) Services(name string) (services map[enode.ID]node.Service)
nodes := s.Net.GetNodes()
services = make(map[enode.ID]node.Service)
for _, node := range nodes {
- if !node.Up {
+ if !node.Up() {
continue
}
simNode, ok := node.Node.(*adapters.SimNode)