aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2018-07-16 14:07:52 -0700
committerPieter Wuille <[email protected]>2018-07-16 14:08:38 -0700
commit347b4ff825e2e1202e8466ee9dcd90078cb1c861 (patch)
tree8661a7355dd6f12248995d8316252c64df1de40b /src/net.h
parentMerge #13298: Net: Bucketing INV delays (1 bucket) for incoming connections t... (diff)
downloaddiscoin-347b4ff825e2e1202e8466ee9dcd90078cb1c861.tar.xz
discoin-347b4ff825e2e1202e8466ee9dcd90078cb1c861.zip
Initialize m_next_send_inv_to_incoming
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index d152fbfbd..607b2fc53 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;
};