Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
p2p/discover: schedule revalidation also when all nodes are excluded (e…
…thereum#30239) ## Issue If `nextTime` has passed, but all nodes are excluded, `get` would return `nil` and `run` would therefore not invoke `schedule`. Then, we schedule a timer for the past, as neither `nextTime` value has been updated. This creates a busy loop, as the timer immediately returns. ## Fix With this PR, revalidation will be also rescheduled when all nodes are excluded. --------- Co-authored-by: lightclient <lightclient@protonmail.com>
- Loading branch information