diff --git a/src/net.h b/src/net.h index d152fbfbddb..607b2fc53c4 100644 --- a/src/net.h +++ b/src/net.h @@ -441,7 +441,7 @@ private: * This takes the place of a feeler connection */ std::atomic_bool m_try_another_outbound_peer; - std::atomic m_next_send_inv_to_incoming; + std::atomic m_next_send_inv_to_incoming{0}; friend struct CConnmanTest; };