aboutsummaryrefslogtreecommitdiff
path: root/src/addrman_impl.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-03-24 19:56:00 +0100
committerMacroFake <falke.marco@gmail.com>2022-07-30 11:04:09 +0200
commitfadd8b2676f6d68ec87189871461c9a6a6aa3cac (patch)
treecdb4586d8b54b58eea184a13fbe2d75ded74193c /src/addrman_impl.h
parentab3db34836b157fe9a2196989a4d290c714bddc3 (diff)
addrman: Use system time instead of adjusted network time
Diffstat (limited to 'src/addrman_impl.h')
-rw-r--r--src/addrman_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrman_impl.h b/src/addrman_impl.h
index a73a026940..376e79f49f 100644
--- a/src/addrman_impl.h
+++ b/src/addrman_impl.h
@@ -93,10 +93,10 @@ public:
int GetBucketPosition(const uint256 &nKey, bool fNew, int nBucket) const;
//! Determine whether the statistics about this entry are bad enough so that it can just be deleted
- bool IsTerrible(NodeSeconds now = AdjustedTime()) const;
+ bool IsTerrible(NodeSeconds now = Now<NodeSeconds>()) const;
//! Calculate the relative chance this entry should be given when selecting nodes to connect to
- double GetChance(NodeSeconds now = AdjustedTime()) const;
+ double GetChance(NodeSeconds now = Now<NodeSeconds>()) const;
};
class AddrManImpl