[net processing] Remove CNodeState ctor body

It's a no-op. The ctor for RollingBloomFilter already calls reset().
This commit is contained in:
John Newbery 2021-03-12 11:37:50 +00:00
parent e0bc27a14c
commit 55966e0cc0

View file

@ -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. */