diff options
author | Jon Atack <jon@atack.com> | 2020-10-21 11:52:19 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-12-17 19:56:10 +0100 |
commit | 6609eb8cb50fe92c7317b5db9e72d4333b3aab1b (patch) | |
tree | 922267bc8df6660793b3e42f41b8ed5ad579bbeb /src/net.h | |
parent | 993d1ecd191a7d9161082d4026f020cbf00835bb (diff) |
net: assert CNode::m_inbound_onion is inbound in ctor
and drop an unneeded check in CNode::ConnectedThroughNetwork()
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1110,7 +1110,7 @@ private: CService addrLocal GUARDED_BY(cs_addrLocal); mutable RecursiveMutex cs_addrLocal; - //! Whether this peer connected via our Tor onion service. + //! Whether this peer is an inbound onion, e.g. connected via our Tor onion service. const bool m_inbound_onion{false}; public: |