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 {