mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-06 19:23:59 +02:00
multi: fix various typos in comments
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user