aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/net.h b/src/net.h
index 6eb35cbe13..80965e390b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -418,10 +418,7 @@ public:
std::atomic_bool fPauseRecv{false};
std::atomic_bool fPauseSend{false};
- const ConnectionType& GetConnectionType() const
- {
- return m_conn_type;
- }
+ const ConnectionType m_conn_type;
/** Move all messages from the received queue to the processing queue. */
void MarkReceivedMsgsForProcessing(unsigned int recv_flood_size)
@@ -622,7 +619,6 @@ public:
private:
const NodeId id;
const uint64_t nLocalHostNonce;
- const ConnectionType m_conn_type;
std::atomic<int> m_greatest_common_version{INIT_PROTO_VERSION};
std::list<CNetMessage> vRecvMsg; // Used only by SocketHandler thread