diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-09-29 19:11:53 -0700 |
---|---|---|
committer | Dhruv Mehta <856960+dhruv@users.noreply.github.com> | 2021-03-03 09:48:07 -0800 |
commit | 4d98b401fbd821700f7a792b0a4cb52c9b71bc9f (patch) | |
tree | b343ca6c143006fa595d72d56b14d74c008aae7f /src/net.cpp | |
parent | cabe63759ce890a7d39d72f7b8046195b0edb421 (diff) |
Change all ping times to std::chrono types
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index 6dcff7e32e..6bde7534d9 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -603,8 +603,8 @@ void CNode::copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap) stats.minFeeFilter = 0; } - stats.m_ping_usec = m_last_ping_time; - stats.m_min_ping_usec = m_min_ping_time; + X(m_last_ping_time); + X(m_min_ping_time); // Leave string empty if addrLocal invalid (not filled in yet) CService addrLocalUnlocked = GetAddrLocal(); |