mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-05 19:54:28 +00:00
Remove unused int64_t nSinceLastSeen
This commit is contained in:
parent
ac4a095306
commit
90fd29bd0d
@ -54,11 +54,8 @@ double CAddrInfo::GetChance(int64_t nNow) const
|
|||||||
{
|
{
|
||||||
double fChance = 1.0;
|
double fChance = 1.0;
|
||||||
|
|
||||||
int64_t nSinceLastSeen = nNow - nTime;
|
|
||||||
int64_t nSinceLastTry = nNow - nLastTry;
|
int64_t nSinceLastTry = nNow - nLastTry;
|
||||||
|
|
||||||
if (nSinceLastSeen < 0)
|
|
||||||
nSinceLastSeen = 0;
|
|
||||||
if (nSinceLastTry < 0)
|
if (nSinceLastTry < 0)
|
||||||
nSinceLastTry = 0;
|
nSinceLastTry = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user