Skip to content

Commit 55966e0

Browse files
committed
[net processing] Remove CNodeState ctor body
It's a no-op. The ctor for RollingBloomFilter already calls reset().
1 parent e0bc27a commit 55966e0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -598,11 +598,7 @@ struct CNodeState {
598598
//! Whether this peer relays txs via wtxid
599599
bool m_wtxid_relay{false};
600600

601-
CNodeState(bool is_inbound)
602-
: m_is_inbound(is_inbound)
603-
{
604-
m_recently_announced_invs.reset();
605-
}
601+
CNodeState(bool is_inbound) : m_is_inbound(is_inbound) {}
606602
};
607603

608604
/** Map maintaining per-node state. */

0 commit comments

Comments
 (0)