diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-12-08 16:49:33 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-12-08 16:47:36 +0100 |
commit | fa11110bff6288f63e0c487e2e4b4079fb0f4569 (patch) | |
tree | 3d93598c38ba1b34be157fefb14a38bb24ee940a /src/net_processing.cpp | |
parent | 16b31cc4c516cdcaf6d2eb2dd1255cc3e6973ba1 (diff) | |
download | bitcoin-fa11110bff6288f63e0c487e2e4b4079fb0f4569.tar.xz |
util: Allow use of C++14 chrono literals
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 2f2924b262..c46d7d0e61 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -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); |