Skip to content

Commit

Permalink
Remove unused int64_t nSinceLastSeen
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift committed Jan 13, 2017
1 parent ac4a095 commit 90fd29b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/addrman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 90fd29b

Please sign in to comment.