mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
les: fixed linter warning
This commit is contained in:
parent
77ccd372f7
commit
b353e7c33f
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ func (ct *costTracker) gfLoop() {
|
||||||
if recentAvg > max {
|
if recentAvg > max {
|
||||||
max = recentAvg
|
max = recentAvg
|
||||||
}
|
}
|
||||||
// we apply continous correction when MAX(recentTime, recentAvg) > threshold
|
// we apply continuous correction when MAX(recentTime, recentAvg) > threshold
|
||||||
if max > threshold {
|
if max > threshold {
|
||||||
// calculate correction time between last expUpdate and now
|
// calculate correction time between last expUpdate and now
|
||||||
if max*exp >= threshold {
|
if max*exp >= threshold {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue