Remove unused int64_t nSinceLastSeen

This commit is contained in:
practicalswift 2017-01-12 21:50:18 +01:00
parent ac4a095306
commit 90fd29bd0d

View file

@ -54,11 +54,8 @@ double CAddrInfo::GetChance(int64_t nNow) const
{
double fChance = 1.0;
int64_t nSinceLastSeen = nNow - nTime;
int64_t nSinceLastTry = nNow - nLastTry;
if (nSinceLastSeen < 0)
nSinceLastSeen = 0;
if (nSinceLastTry < 0)
nSinceLastTry = 0;