diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 3445674f6..ee7e62768 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -1164,6 +1164,7 @@ namespace nodetool template bool node_server::connections_maker() { + if (m_offline) return true; if (!connect_to_peerlist(m_exclusive_peers)) return false; if (!m_exclusive_peers.empty()) return true; @@ -1935,6 +1936,7 @@ namespace nodetool template bool node_server::gray_peerlist_housekeeping() { + if (m_offline) return true; if (!m_exclusive_peers.empty()) return true; peerlist_entry pe = AUTO_VAL_INIT(pe);