diff options
| author | practicalswift <[email protected]> | 2017-01-12 21:50:18 +0100 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-01-13 18:55:10 +0100 |
| commit | 90fd29bd0dcbaf5d5c4ef9e69824297c35f0b88e (patch) | |
| tree | e3aded0182937c1558296559ad7344d11a0ad177 /src/addrman.cpp | |
| parent | Remove unused Python variables (diff) | |
| download | discoin-90fd29bd0dcbaf5d5c4ef9e69824297c35f0b88e.tar.xz discoin-90fd29bd0dcbaf5d5c4ef9e69824297c35f0b88e.zip | |
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 662e931d2..d72042510 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; |