Skip to content

Commit 536207f

Browse files
committed
Merge pull request #6636
93ff1b9 net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan)
2 parents 2aee4d2 + 93ff1b9 commit 536207f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/net.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,6 +2261,7 @@ CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNa
22612261
nPingUsecStart = 0;
22622262
nPingUsecTime = 0;
22632263
fPingQueued = false;
2264+
nMinPingUsecTime = std::numeric_limits<int64_t>::max();
22642265

22652266
{
22662267
LOCK(cs_nLastNodeId);

0 commit comments

Comments
 (0)