Skip to content

Commit

Permalink
chore: linters
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
  • Loading branch information
jeremyletang committed May 14, 2024
1 parent 9350e3c commit 34c08d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/execution/market_community_tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"code.vegaprotocol.io/vega/core/events"
"code.vegaprotocol.io/vega/core/execution/common"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"

"golang.org/x/exp/maps"
)

Expand Down Expand Up @@ -63,7 +64,7 @@ func (m *MarketCommunityTags) serialize() []*eventspb.MarketCommunityTags {
Tags: make([]string, 0, len(tags)),
}

for tag, _ := range tags {
for tag := range tags {
mct.Tags = append(mct.Tags, tag)
}

Expand All @@ -75,7 +76,7 @@ func (m *MarketCommunityTags) serialize() []*eventspb.MarketCommunityTags {
return out
}

// UpdateTags by that point the tags have been validated in lenght,
// UpdateTags by that point the tags have been validated in length,
// so no need to do that again.
func (m *MarketCommunityTags) UpdateTags(
ctx context.Context,
Expand Down

0 comments on commit 34c08d5

Please sign in to comment.