aboutsummaryrefslogtreecommitdiffstats
path: root/peer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'peer.cpp')
-rw-r--r--peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.cpp b/peer.cpp
index 904de0e9..2aeb9946 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -75,7 +75,7 @@ BOOST_AUTO_TEST_CASE(save_nodes)
h->setIdealPeerCount(10);
// starting host is required so listenport is available
h->start();
- while (!h->isStarted())
+ while (!h->haveNetwork())
this_thread::sleep_for(chrono::milliseconds(2));
hosts.push_back(h);
}