From 7c23e82cd0ee7b6ce28c588f81d93aae593ecc4a Mon Sep 17 00:00:00 2001 From: fearlseefe <505380967@qq.com> Date: Thu, 10 Oct 2024 10:35:52 +0800 Subject: [PATCH] fix: lint err --- p2p/discover/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/discover/api.go b/p2p/discover/api.go index 07a5b61dc432..4915fa688e2a 100644 --- a/p2p/discover/api.go +++ b/p2p/discover/api.go @@ -421,7 +421,7 @@ func (p *PortalProtocolAPI) Offer(enr string, contentItems [][2]string) (string, return "", err } - entries := make([]*ContentEntry, 0, len(contentItems)); + entries := make([]*ContentEntry, 0, len(contentItems)) for _, contentItem := range contentItems { contentKey, err := hexutil.Decode(contentItem[0]) if err != nil {