Commit 946a6f66 authored by idk's avatar idk

add comments and don't repeat myself as much

parent 672c39fb
......@@ -266,7 +266,7 @@ func garlic32StB(s string) ([]byte, error) {
s += "="
}
garlicHostBytes, err := garlicBase32Encoding.DecodeString(string(s))
garlicHostBytes, err := garlicBase32Encoding.DecodeString(s)
if err != nil {
return nil, fmt.Errorf("failed to decode base32 garlic addr: %s, err: %v len: %v",
s,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment