[net processing] Remove CNodeState ctor body

It's a no-op. The ctor for RollingBloomFilter already calls reset().
pull/826/head
John Newbery 4 years ago
parent e0bc27a14c
commit 55966e0cc0

@ -598,11 +598,7 @@ struct CNodeState {
//! Whether this peer relays txs via wtxid //! Whether this peer relays txs via wtxid
bool m_wtxid_relay{false}; bool m_wtxid_relay{false};
CNodeState(bool is_inbound) CNodeState(bool is_inbound) : m_is_inbound(is_inbound) {}
: m_is_inbound(is_inbound)
{
m_recently_announced_invs.reset();
}
}; };
/** Map maintaining per-node state. */ /** Map maintaining per-node state. */

Loading…
Cancel
Save