Skip to content

Commit 347b4ff

Browse files
committed
Initialize m_next_send_inv_to_incoming
1 parent f8d470e commit 347b4ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ class CConnman
441441
* This takes the place of a feeler connection */
442442
std::atomic_bool m_try_another_outbound_peer;
443443

444-
std::atomic<int64_t> m_next_send_inv_to_incoming;
444+
std::atomic<int64_t> m_next_send_inv_to_incoming{0};
445445

446446
friend struct CConnmanTest;
447447
};

0 commit comments

Comments
 (0)