Skip to content

Commit

Permalink
fix tags formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nikooo777 committed Jun 17, 2019
1 parent 927654d commit b4d0821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/processing/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func setMetaDataInfo(claim *model.Claim, helper *c.ClaimHelper) error {
func setTags(claim *model.Claim, tags []string) error {
maxTagLength := 255
for _, tag := range tags {
if len(tag) > maxTagLength{
if len(tag) > maxTagLength {
tag = tag[0:maxTagLength]
}
if tag == "mature" {
Expand Down

0 comments on commit b4d0821

Please sign in to comment.