diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-03-24 19:56:00 +0100 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-30 11:04:09 +0200 |
commit | fadd8b2676f6d68ec87189871461c9a6a6aa3cac (patch) | |
tree | cdb4586d8b54b58eea184a13fbe2d75ded74193c /src/timedata.h | |
parent | ab3db34836b157fe9a2196989a4d290c714bddc3 (diff) |
addrman: Use system time instead of adjusted network time
Diffstat (limited to 'src/timedata.h')
-rw-r--r-- | src/timedata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/timedata.h b/src/timedata.h index ed2d8639f7..cfe5111644 100644 --- a/src/timedata.h +++ b/src/timedata.h @@ -76,7 +76,6 @@ public: /** Functions to keep track of adjusted P2P time */ int64_t GetTimeOffset(); int64_t GetAdjustedTime(); -inline NodeSeconds AdjustedTime() { return Now<NodeSeconds>() + std::chrono::seconds{GetTimeOffset()}; } void AddTimeData(const CNetAddr& ip, int64_t nTime); /** |