From 8d3df60b6439082b2b76ab9c10289e8f10ce06ad Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 28 May 2024 19:36:37 +0200 Subject: [PATCH] p2p/discover: update comment in test --- p2p/discover/table_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/discover/table_test.go b/p2p/discover/table_test.go index 618221c9b9..b0be2a94c5 100644 --- a/p2p/discover/table_test.go +++ b/p2p/discover/table_test.go @@ -349,7 +349,7 @@ func TestTable_addInboundNodeUpdateV4Accept(t *testing.T) { checkBucketContent(t, tab, []*enode.Node{n1}) // Add an updated version with changed IP. - // The update will be accepted because it has seq=0. + // The update will be accepted because it is inbound. n1v2 := enode.NewV4(&key.PublicKey, net.IP{99, 99, 99, 99}, 9000, 9000) tab.addInboundNode(wrapNode(n1v2)) checkBucketContent(t, tab, []*enode.Node{n1v2})