From c074625c9a67e0620f9674fe0fd9892c2668cfa0 Mon Sep 17 00:00:00 2001 From: Ian Suvak Date: Tue, 20 Jun 2023 11:25:03 -0400 Subject: [PATCH] fix merge issues --- network/wsPeer_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/network/wsPeer_test.go b/network/wsPeer_test.go index 066ef68a34..4853b95e32 100644 --- a/network/wsPeer_test.go +++ b/network/wsPeer_test.go @@ -270,11 +270,10 @@ func getProtocolTags(t *testing.T) []string { for _, spec := range genDecl.Specs { if valueSpec, ok := spec.(*ast.ValueSpec); ok { for _, n := range valueSpec.Names { - if strings.HasSuffix(n.Name, "MaxSize") || n.Name == TagLength{ + if strings.HasSuffix(n.Name, "MaxSize") || n.Name == "TagLength" { continue } declaredTags = append(declaredTags, n.Name) - } } } }