mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
util: Allow use of C++14 chrono literals
This commit is contained in:
parent
16b31cc4c5
commit
fa11110bff
4 changed files with 7 additions and 5 deletions
|
|
@ -4080,7 +4080,7 @@ bool PeerManager::SendMessages(CNode* pto)
|
|||
// over since our last self-announcement, but there is only a small
|
||||
// bandwidth cost that we can incur by doing this (which happens
|
||||
// once a day on average).
|
||||
if (pto->m_next_local_addr_send != std::chrono::microseconds::zero()) {
|
||||
if (pto->m_next_local_addr_send != 0us) {
|
||||
pto->m_addr_known->reset();
|
||||
}
|
||||
AdvertiseLocal(pto);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue