Browse Source

Remove unused int64_t nSinceLastSeen

0.14
practicalswift 8 years ago
parent
commit
90fd29bd0d
  1. 3
      src/addrman.cpp

3
src/addrman.cpp

@ -54,11 +54,8 @@ double CAddrInfo::GetChance(int64_t nNow) const @@ -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;

Loading…
Cancel
Save