aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-02-06 11:42:49 -0500
committerMatt Corallo <git@bluematt.me>2017-02-10 11:32:40 -0500
commit644f1234e22626a7b5618a1dae60a8457a4063b1 (patch)
tree1126ea900c892ed9ec77b62e11640e18bd5f7c0a /src/net.h
parent321d0fc6b6624c65508f8b9059418cb936f0bbbe (diff)
Make nTimeConnected const in CNode
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 89501c764e..4bbcfac88b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -587,7 +587,7 @@ public:
std::atomic<int64_t> nLastSend;
std::atomic<int64_t> nLastRecv;
- int64_t nTimeConnected;
+ const int64_t nTimeConnected;
std::atomic<int64_t> nTimeOffset;
const CAddress addr;
std::string addrName;