aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-12-25 14:25:45 +0100
committerJon Atack <jon@atack.com>2020-12-27 14:28:31 +0100
commitaf9103cc792e17f35249f1d4cb30f0d6958ceb75 (patch)
tree52bdedf71cd7b905d104f9b573ac020205a99efd /src/net.h
parentcc592a85ea0c371f7269dbcad32857c181b657d1 (diff)
downloadbitcoin-af9103cc792e17f35249f1d4cb30f0d6958ceb75.tar.xz
net, rpc: change CNodeStats::m_network from string to Network
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 1520a54686..faf1782086 100644
--- a/src/net.h
+++ b/src/net.h
@@ -722,8 +722,8 @@ public:
CAddress addr;
// Bind address of our side of the connection
CAddress addrBind;
- // Name of the network the peer connected through
- std::string m_network;
+ // Network the peer connected through
+ Network m_network;
uint32_t m_mapped_as;
std::string m_conn_type_string;
};