Merge pull request #6636
93ff1b9
net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan)
This commit is contained in:
commit
536207f316
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue