Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bc6897

Browse files
committed
chore: fixed lint
1 parent 39be783 commit 6bc6897

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

byteutil/hex.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ func ToHexBloom(bs []byte) string {
1919
nbs := bytes.NewBufferString("")
2020
for i := 0; i < len(bs); i++ {
2121
if i > 0 {
22-
nbs.WriteString(" ")
22+
fmt.Fprintf(nbs, " ")
2323
}
24-
nbs.WriteString(fmt.Sprintf("%02X", bs[i]))
24+
fmt.Fprintf(nbs, "%02X", bs[i])
2525
}
2626
return nbs.String()
2727
}

0 commit comments

Comments
 (0)