aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/net.cpp
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2021-09-21 17:03:47 +0200
committerVasil Dimov <vd@FreeBSD.org>2021-11-03 14:58:49 +0100
commite6890fcb440245c9a24ded0b7af46267453433f1 (patch)
tree8760b4f7c6055590aab1eb6c5216abc3a711e10a /src/rpc/net.cpp
parente9d90d3c11cee8ea70056f69afaa548cee898f40 (diff)
downloadbitcoin-e6890fcb440245c9a24ded0b7af46267453433f1.tar.xz
net: don't skip CJDNS from GetNetworksInfo()
Diffstat (limited to 'src/rpc/net.cpp')
-rw-r--r--src/rpc/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index a9bee33c5d..e33f1ce4a3 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -566,7 +566,7 @@ static UniValue GetNetworksInfo()
UniValue networks(UniValue::VARR);
for (int n = 0; n < NET_MAX; ++n) {
enum Network network = static_cast<enum Network>(n);
- if (network == NET_UNROUTABLE || network == NET_CJDNS || network == NET_INTERNAL) continue;
+ if (network == NET_UNROUTABLE || network == NET_INTERNAL) continue;
proxyType proxy;
UniValue obj(UniValue::VOBJ);
GetProxy(network, proxy);