Skip to content

Commit 946a6f6

Browse files
author
idk
committed
add comments and don't repeat myself as much
1 parent 672c39f commit 946a6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transcoders.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ func garlic32StB(s string) ([]byte, error) {
266266
s += "="
267267
}
268268

269-
garlicHostBytes, err := garlicBase32Encoding.DecodeString(string(s))
269+
garlicHostBytes, err := garlicBase32Encoding.DecodeString(s)
270270
if err != nil {
271271
return nil, fmt.Errorf("failed to decode base32 garlic addr: %s, err: %v len: %v",
272272
s,

0 commit comments

Comments
 (0)