multi: fix various typos in comments

This commit is contained in:
maurycy committed 2018-09-07 06:51:49 +02:00
1 parent dcd8190c80
commit ac24b12bf2
24 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ func IsOnionHost(host string) bool {
// We'll now attempt to decode the host without its suffix, as the
// suffix includes invalid characters. This will tell us if the host is
// actually valid if succesful.
// actually valid if successful.
host = host[:suffixIndex]
if _, err := Base32Encoding.DecodeString(host); err != nil {
return false