diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-03-28 17:29:20 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-25 10:57:08 +0200 |
commit | fa27ee88edbf696b7eef2efbfcf1446ec522fd85 (patch) | |
tree | 6e0246e5742576384c5dd34937d02bd104782f3e /src/qt/walletmodel.h | |
parent | 8c721fff3a007db613b22464b40fe7cd6b1ead80 (diff) | |
download | bitcoin-fa27ee88edbf696b7eef2efbfcf1446ec522fd85.tar.xz |
Get time less often in AddrManImpl::ResolveCollisions_()
This makes the code less verbose. Also, future changes that change how
to get the time are less verbose.
Moreover, GetAdjustedTime() might arbitrarily change the value during
the execution of this function. For example, the system time advances
over a second boundary, or the network adjusts the time arbitrarily.
Most of the time however the value will not change, so it seems better
to always lock the value in this scope for clarity.
Diffstat (limited to 'src/qt/walletmodel.h')
0 files changed, 0 insertions, 0 deletions