aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <[email protected]>2020-09-30 19:19:19 +0300
committerHennadii Stepanov <[email protected]>2020-10-03 15:38:19 +0300
commit49fba9c1aa699d3aa47ea4dafe07b47c8d0aac6e (patch)
treee58b1df3d151cb25d898e14a095b12d455ba7894 /src/netaddress.cpp
parentnet: Add CNode::m_inbound_onion data member (diff)
downloaddiscoin-49fba9c1aa699d3aa47ea4dafe07b47c8d0aac6e.tar.xz
discoin-49fba9c1aa699d3aa47ea4dafe07b47c8d0aac6e.zip
net: Add CNode::ConnectedThroughNetwork member function
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r--src/netaddress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp
index 0c4c0a339..d460d0139 100644
--- a/src/netaddress.cpp
+++ b/src/netaddress.cpp
@@ -629,7 +629,7 @@ uint32_t CNetAddr::GetLinkedIPv4() const
assert(false);
}
-uint32_t CNetAddr::GetNetClass() const
+Network CNetAddr::GetNetClass() const
{
// Make sure that if we return NET_IPV6, then IsIPv6() is true. The callers expect that.