aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index d152fbfbdd..607b2fc53c 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<int64_t> m_next_send_inv_to_incoming;
+ std::atomic<int64_t> m_next_send_inv_to_incoming{0};
friend struct CConnmanTest;
};