diff --git a/src/net.h b/src/net.h index f87ca74182467..729d23af42273 100644 --- a/src/net.h +++ b/src/net.h @@ -642,7 +642,7 @@ friend class CNode; * 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; };