diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-05-12 14:48:24 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-08-07 17:18:16 -0700 |
commit | af59feb05235ecb85ec9d75b09c66e71268c9889 (patch) | |
tree | 1b473ffa4a8e7107afd4b128e37b750370811e6e /src/net.h | |
parent | e1bc29812ddf1d946bc5acca406a7ed2dca064a6 (diff) |
[net/refactor] Extract m_addr_known logic from initializer list
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -799,7 +799,7 @@ public: // flood relay std::vector<CAddress> vAddrToSend; - const std::unique_ptr<CRollingBloomFilter> m_addr_known; + std::unique_ptr<CRollingBloomFilter> m_addr_known = nullptr; bool fGetAddr{false}; std::chrono::microseconds m_next_addr_send GUARDED_BY(cs_sendProcessing){0}; std::chrono::microseconds m_next_local_addr_send GUARDED_BY(cs_sendProcessing){0}; |