Skip to content

Commit

Permalink
fix: lint err
Browse files Browse the repository at this point in the history
  • Loading branch information
fearlessfe authored and GrapeBaBa committed Oct 10, 2024
1 parent e1bfcb4 commit 7c23e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/discover/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7c23e82

Please sign in to comment.