From af9103cc792e17f35249f1d4cb30f0d6958ceb75 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Fri, 25 Dec 2020 14:25:45 +0100 Subject: net, rpc: change CNodeStats::m_network from string to Network --- src/rpc/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc/net.cpp') diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 333dcb52bd..5aee2baaaf 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -188,7 +188,7 @@ static RPCHelpMan getpeerinfo() if (!(stats.addrLocal.empty())) { obj.pushKV("addrlocal", stats.addrLocal); } - obj.pushKV("network", stats.m_network); + obj.pushKV("network", GetNetworkName(stats.m_network)); if (stats.m_mapped_as != 0) { obj.pushKV("mapped_as", uint64_t(stats.m_mapped_as)); } -- cgit v1.2.3