diff --git a/discover/v5_udp_test.go b/discover/v5_udp_test.go index 780efe4..d17b886 100644 --- a/discover/v5_udp_test.go +++ b/discover/v5_udp_test.go @@ -641,6 +641,12 @@ func TestUDPv5_LocalNode(t *testing.T) { testVal := [4]byte{'A', 'B', 'C', 'D'} localNd.Set(enr.WithEntry("testing", &testVal)) + for i := 0; i < 10; i++ { + name := fmt.Sprintf("testing-%d", i) + value := "12345678901234567890" + localNd.Set(enr.WithEntry(name, value)) + } + // retrieve the value from self to make sure it matches. outputVal := [4]byte{} if err := node.Self().Load(enr.WithEntry("testing", &outputVal)); err != nil {