Merge #13679: Initialize m_next_send_inv_to_incoming
347b4ff825 Initialize m_next_send_inv_to_incoming (Pieter Wuille)
Pull request description:
This fixes an uninitialized variable introduced in #13298.
Tree-SHA512: 0c6fb164164141036fbbc955475650724bffdb3593c22946f55ac715fa162183bf9377a8390ee9d13f104be22bc417445e2c7fb3d4acf5e6236ac802e50f3e77
This commit is contained in:
1 file changed
+1
-1
@@ -441,7 +441,7 @@ private:
|
|||||||
* This takes the place of a feeler connection */
|
* This takes the place of a feeler connection */
|
||||||
std::atomic_bool m_try_another_outbound_peer;
|
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;
|
friend struct CConnmanTest;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user