aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/stream/visualized_snapshot_sync_sim_test.go
diff options
context:
space:
mode:
authorElad <theman@elad.im>2018-12-17 19:19:01 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-12-17 19:19:01 +0800
commit472c23a8015cd84b193d2d0efb4592a664de3c62 (patch)
tree2344bab40a7328567179ec889b2432039cd28cf4 /swarm/network/stream/visualized_snapshot_sync_sim_test.go
parentd322c9d5504ad3fd4dfeb9dff29e92b35856042f (diff)
downloadgo-tangerine-472c23a8015cd84b193d2d0efb4592a664de3c62.tar.gz
go-tangerine-472c23a8015cd84b193d2d0efb4592a664de3c62.tar.zst
go-tangerine-472c23a8015cd84b193d2d0efb4592a664de3c62.zip
p2p/simulation: move connection methods from swarm/network/simulation (#18323)
Diffstat (limited to 'swarm/network/stream/visualized_snapshot_sync_sim_test.go')
-rw-r--r--swarm/network/stream/visualized_snapshot_sync_sim_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/stream/visualized_snapshot_sync_sim_test.go b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
index f6d618020..27237d184 100644
--- a/swarm/network/stream/visualized_snapshot_sync_sim_test.go
+++ b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
@@ -103,7 +103,7 @@ func TestNonExistingHashesWithServer(t *testing.T) {
result := sim.Run(ctx, func(ctx context.Context, sim *simulation.Simulation) error {
//check on the node's FileStore (netstore)
- id := sim.RandomUpNode().ID
+ id := sim.Net.GetRandomUpNode().ID()
item, ok := sim.NodeItem(id, bucketKeyFileStore)
if !ok {
t.Fatalf("No filestore")