Refactoring only, no change in behavior. This is a quick follow-up to #20210 to address these review comments:
Changes:
- make the
CNode::m_inbound_onion class
member public, update the Doxygen comment, drop the getter, and update the tests - remove the
CNode::m_inbound_onion
default value initialization in the ctor declaration and the member initializer in favor of always passing it explicitly to the ctor where we initialize it dynamically, to both clarify the caller code and to allow the compiler to warn if it is uninitialized in the ctor or omitted in the caller