From 682334d844205154add31dbc2afd1f3285c43013 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 3 Sep 2016 15:35:32 -0400 Subject: [PATCH] fix typo --- LeaseSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LeaseSet.h b/LeaseSet.h index ed21eccd..95d8bf90 100644 --- a/LeaseSet.h +++ b/LeaseSet.h @@ -30,7 +30,7 @@ namespace data bool ExpiresWithin( const uint64_t t, const uint64_t fudge = 1000 ) const { auto expire = i2p::util::GetMillisecondsSinceEpoch (); if(fudge) expire += rand() % fudge; - return expire - endDate >= t; + return endDate - expire >= t; } };