mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
Merge ed5a069bf9 into 12eabbd76d
This commit is contained in:
commit
fcf29b5901
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ func (it *lookupIterator) slowdown() {
|
||||||
if diff > minInterval {
|
if diff > minInterval {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
wait := time.NewTimer(diff)
|
wait := time.NewTimer(minInterval - diff)
|
||||||
defer wait.Stop()
|
defer wait.Stop()
|
||||||
select {
|
select {
|
||||||
case <-wait.C:
|
case <-wait.C:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue