Browse Source

fix typo

pull/628/head
Jeff Becker 8 years ago
parent
commit
682334d844
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      LeaseSet.h

2
LeaseSet.h

@ -30,7 +30,7 @@ namespace data @@ -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;
}
};

Loading…
Cancel
Save