p2p/discover: fix lint issue

This commit is contained in:
Felix Lange 2024-05-28 13:19:53 +02:00
parent 0a4a25dff3
commit f0260b8def

View file

@ -43,7 +43,7 @@ func TestRevalidationNodeRemoved(t *testing.T) {
// then advance the clock to that point and schedule again to start. // then advance the clock to that point and schedule again to start.
next := tr.run(tab, clock.Now()) next := tr.run(tab, clock.Now())
clock.Run(time.Duration(next + 1)) clock.Run(time.Duration(next + 1))
next = tr.run(tab, clock.Now()) tr.run(tab, clock.Now())
if len(tr.activeReq) != 1 { if len(tr.activeReq) != 1 {
t.Fatal("revalidation request did not start:", tr.activeReq) t.Fatal("revalidation request did not start:", tr.activeReq)
} }