mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +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
|
package discover
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"math"
|
||||||
"slices"
|
"slices"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|
@ -24,7 +25,7 @@ import (
|
||||||
"github.com/ethereum/go-ethereum/p2p/enode"
|
"github.com/ethereum/go-ethereum/p2p/enode"
|
||||||
)
|
)
|
||||||
|
|
||||||
const never = ^mclock.AbsTime(0)
|
const never = mclock.AbsTime(math.MaxInt64)
|
||||||
|
|
||||||
type tableRevalidation struct {
|
type tableRevalidation struct {
|
||||||
newNodes revalidationList
|
newNodes revalidationList
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue