diff --git a/src/net.h b/src/net.h --- a/src/net.h +++ b/src/net.h @@ -431,7 +431,7 @@ */ 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; };