mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
p2p/discover: fix spin condition
This commit is contained in:
parent
00e71f5d1b
commit
1d896e8165
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
package discover
|
||||
|
||||
import (
|
||||
"math"
|
||||
"slices"
|
||||
"time"
|
||||
|
||||
|
|
@ -24,7 +25,7 @@ import (
|
|||
"github.com/ethereum/go-ethereum/p2p/enode"
|
||||
)
|
||||
|
||||
const never = ^mclock.AbsTime(0)
|
||||
const never = mclock.AbsTime(math.MaxInt64)
|
||||
|
||||
type tableRevalidation struct {
|
||||
newNodes revalidationList
|
||||
|
|
|
|||
Loading…
Reference in a new issue