p2p/discover: fix spin condition

This commit is contained in:
Felix Lange 2024-04-18 10:54:32 +02:00
parent 00e71f5d1b
commit 1d896e8165

View file

@ -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