diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-09-04 17:03:24 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-09-04 17:06:48 +0200 |
commit | 536207f3167daad1fa3d60a1de7d9cb55db28ac9 (patch) | |
tree | ef79bbdf5fefb68bf44a12b748d9226505a20039 | |
parent | 2aee4d268dfe14566d95ea3907d6239fb2835b1d (diff) | |
parent | 93ff1b9041a8282cd0785d22edbc1fd67b29533b (diff) |
Merge pull request #6636
93ff1b9 net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan)
-rw-r--r-- | src/net.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp index 526e2049a8..87c4f0af0a 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2261,6 +2261,7 @@ CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNa nPingUsecStart = 0; nPingUsecTime = 0; fPingQueued = false; + nMinPingUsecTime = std::numeric_limits<int64_t>::max(); { LOCK(cs_nLastNodeId); |