mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
fix typo
This commit is contained in:
parent
7cc805b203
commit
682334d844
@ -30,7 +30,7 @@ namespace data
|
|||||||
bool ExpiresWithin( const uint64_t t, const uint64_t fudge = 1000 ) const {
|
bool ExpiresWithin( const uint64_t t, const uint64_t fudge = 1000 ) const {
|
||||||
auto expire = i2p::util::GetMillisecondsSinceEpoch ();
|
auto expire = i2p::util::GetMillisecondsSinceEpoch ();
|
||||||
if(fudge) expire += rand() % fudge;
|
if(fudge) expire += rand() % fudge;
|
||||||
return expire - endDate >= t;
|
return endDate - expire >= t;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user