Match va_start and va_end calls, pointed by clang-tidy #176
1 changed files with 1 additions and 1 deletions
|
@ -2130,7 +2130,7 @@ int CClaimTrieCache::getDelayForName(const std::string& name) const
|
||||||
int nHeightOfLastTakeover;
|
int nHeightOfLastTakeover;
|
||||||
if (getLastTakeoverForName(name, nHeightOfLastTakeover))
|
if (getLastTakeoverForName(name, nHeightOfLastTakeover))
|
||||||
{
|
{
|
||||||
return (nCurrentHeight - nHeightOfLastTakeover) / base->nProportionalDelayFactor;
|
return std::min((nCurrentHeight - nHeightOfLastTakeover) / base->nProportionalDelayFactor, 4032);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue