diff options
author | John Newbery <john@johnnewbery.com> | 2021-03-12 11:37:50 +0000 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-03-12 11:37:50 +0000 |
commit | 55966e0cc03f0e380d21a9434b048d4d515b6729 (patch) | |
tree | 8a9c556df73a313acea129201b0b563965bd541a /src/net_processing.cpp | |
parent | e0bc27a14ceb18bfe3dd9ebdae6bef447c4ec922 (diff) |
[net processing] Remove CNodeState ctor body
It's a no-op. The ctor for RollingBloomFilter already calls reset().
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index c569acd3cb..46fdc81a4a 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -598,11 +598,7 @@ struct CNodeState { //! Whether this peer relays txs via wtxid bool m_wtxid_relay{false}; - CNodeState(bool is_inbound) - : m_is_inbound(is_inbound) - { - m_recently_announced_invs.reset(); - } + CNodeState(bool is_inbound) : m_is_inbound(is_inbound) {} }; /** Map maintaining per-node state. */ |