aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-10-21 11:52:19 +0200
committerJon Atack <jon@atack.com>2020-12-17 19:56:10 +0100
commit6609eb8cb50fe92c7317b5db9e72d4333b3aab1b (patch)
tree922267bc8df6660793b3e42f41b8ed5ad579bbeb /src/net.h
parent993d1ecd191a7d9161082d4026f020cbf00835bb (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index b7c45abb09..ca5944d46b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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: