[net processing] Remove CNodeState ctor body
It's a no-op. The ctor for RollingBloomFilter already calls reset().
This commit is contained in:
1 parent
e0bc27a14c
commit
55966e0cc0
1 file changed
+1
-5
@@ -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. */
|
||||||
|
|||||||
Reference in new issue
Block a user