diff options
| author | Matt Corallo <[email protected]> | 2017-02-06 11:42:49 -0500 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2017-02-10 11:32:40 -0500 |
| commit | 644f1234e22626a7b5618a1dae60a8457a4063b1 (patch) | |
| tree | 1126ea900c892ed9ec77b62e11640e18bd5f7c0a /src/net.h | |
| parent | net: fix a few races. Credit @TheBlueMatt (diff) | |
| download | discoin-644f1234e22626a7b5618a1dae60a8457a4063b1.tar.xz discoin-644f1234e22626a7b5618a1dae60a8457a4063b1.zip | |
Make nTimeConnected const in CNode
Diffstat (limited to 'src/net.h')
| -rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |