diff options
author | Jon Atack <jon@atack.com> | 2021-01-26 22:08:28 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-02-12 22:23:15 +0100 |
commit | 24bda56c29800502953c6a8cd69248e60ff9a0a0 (patch) | |
tree | a738e46a31f939eb36697becc9d0854d6e1f25c8 /src/net.cpp | |
parent | bf3189eda65d269fee6a70681ab390bd7cebf7d7 (diff) |
net: make CNode::m_inbound_onion public, drop getter, update tests
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index c2e7ca0301..fd02c24f4b 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2855,12 +2855,12 @@ CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, SOCKET hSocketIn, const : nTimeConnected(GetSystemTimeInSeconds()), addr(addrIn), addrBind(addrBindIn), + m_inbound_onion(inbound_onion), nKeyedNetGroup(nKeyedNetGroupIn), id(idIn), nLocalHostNonce(nLocalHostNonceIn), m_conn_type(conn_type_in), - nLocalServices(nLocalServicesIn), - m_inbound_onion(inbound_onion) + nLocalServices(nLocalServicesIn) { if (inbound_onion) assert(conn_type_in == ConnectionType::INBOUND); hSocket = hSocketIn; |