mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge #9532: Remove unused variables
90fd29bRemove unused int64_t nSinceLastSeen (practicalswift)ac4a095Remove unused Python variables (practicalswift)
This commit is contained in:
commit
b709fe7ffc
8 changed files with 2 additions and 11 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue