mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Change all ping times to std::chrono types
This commit is contained in:
parent
cabe63759c
commit
4d98b401fb
12 changed files with 56 additions and 43 deletions
|
|
@ -1112,7 +1112,7 @@ bool PeerManagerImpl::GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats)
|
|||
ping_wait = GetTime<std::chrono::microseconds>() - peer->m_ping_start.load();
|
||||
}
|
||||
|
||||
stats.m_ping_wait_usec = count_microseconds(ping_wait);
|
||||
stats.m_ping_wait = ping_wait;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue