diff --git a/libp2p/Host.cpp b/libp2p/Host.cpp index b51443e63..471d1dc56 100644 --- a/libp2p/Host.cpp +++ b/libp2p/Host.cpp @@ -793,7 +793,7 @@ void Host::run(boost::system::error_code const& error) void Host::startedWorking() { - if (asserts(!m_timer)) + if (!m_timer) { // no timer means this is first run and network must be started // (run once when host worker thread calls startedWorking())