mirror of
https://github.com/waku-org/go-multiaddr.git
synced 2025-02-22 19:18:14 +00:00
add comments and don't repeat myself as much
This commit is contained in:
parent
672c39fb9b
commit
946a6f66c0
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user