mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
[net processing] Remove CNodeState ctor body
It's a no-op. The ctor for RollingBloomFilter already calls reset().
This commit is contained in:
parent
e0bc27a14c
commit
55966e0cc0
1 changed files with 1 additions and 5 deletions
|
@ -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…
Reference in a new issue