mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
[net processing] Remove CNodeState ctor body
It's a no-op. The ctor for RollingBloomFilter already calls reset().
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user