diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-01-12 21:50:18 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-01-13 18:55:10 +0100 |
commit | 90fd29bd0dcbaf5d5c4ef9e69824297c35f0b88e (patch) | |
tree | e3aded0182937c1558296559ad7344d11a0ad177 /src/addrman.cpp | |
parent | ac4a0953060e34ddd8f4bd7aa28c719d8ed2c068 (diff) |
Remove unused int64_t nSinceLastSeen
Diffstat (limited to 'src/addrman.cpp')
-rw-r--r-- | src/addrman.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/addrman.cpp b/src/addrman.cpp index 662e931d25..d72042510a 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -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; |