From b4d0821b3d318a11aacb813f14d118d972abcaa0 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Mon, 17 Jun 2019 14:43:31 +0200 Subject: [PATCH] fix tags formatting --- daemon/processing/claim.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/processing/claim.go b/daemon/processing/claim.go index 93fc14c..4ad6c9f 100644 --- a/daemon/processing/claim.go +++ b/daemon/processing/claim.go @@ -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" {