diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2019-10-16 17:37:19 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2021-03-04 19:54:17 +0000 |
commit | c77de622dd8ef458f73b1a01a34629a7c4f49358 (patch) | |
tree | da0910c8472e5ab4820c16be3609b8b8bccd1a35 /src/node | |
parent | b4d22654fe9e90093e643cb7beb896c48a274d47 (diff) | |
download | bitcoin-c77de622dd8ef458f73b1a01a34629a7c4f49358.tar.xz |
net: Replace enum CConnMan::NumConnections with enum class ConnectionDirection
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/interfaces.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp index ec976fe9bf..acd6d7847e 100644 --- a/src/node/interfaces.cpp +++ b/src/node/interfaces.cpp @@ -96,7 +96,7 @@ public: bool shutdownRequested() override { return ShutdownRequested(); } void mapPort(bool use_upnp, bool use_natpmp) override { StartMapPort(use_upnp, use_natpmp); } bool getProxy(Network net, proxyType& proxy_info) override { return GetProxy(net, proxy_info); } - size_t getNodeCount(CConnman::NumConnections flags) override + size_t getNodeCount(ConnectionDirection flags) override { return m_context->connman ? m_context->connman->GetNodeCount(flags) : 0; } |