diff options
Diffstat (limited to 'swarm/network/simulation/kademlia_test.go')
-rw-r--r-- | swarm/network/simulation/kademlia_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/simulation/kademlia_test.go b/swarm/network/simulation/kademlia_test.go index d11fe7e41..285644a0f 100644 --- a/swarm/network/simulation/kademlia_test.go +++ b/swarm/network/simulation/kademlia_test.go @@ -30,7 +30,7 @@ import ( func TestWaitTillHealthy(t *testing.T) { sim := New(map[string]ServiceFunc{ "bzz": func(ctx *adapters.ServiceContext, b *sync.Map) (node.Service, func(), error) { - addr := network.NewAddrFromNodeID(ctx.Config.ID) + addr := network.NewAddr(ctx.Config.Node()) hp := network.NewHiveParams() hp.Discovery = false config := &network.BzzConfig{ |