diff --git a/cmd/passphrases.go b/cmd/passphrases.go index a71e372..c0e420c 100644 --- a/cmd/passphrases.go +++ b/cmd/passphrases.go @@ -17,7 +17,7 @@ import ( "github.com/spf13/viper" ) -// getWalletPassphrases() fetches the wallet passphrase supplied by the user. +// getWalletPassphrase() fetches the wallet passphrase supplied by the user. func getWalletPassphrase() string { return viper.GetString("wallet-passphrase") } diff --git a/util/mnemonic.go b/util/mnemonic.go index a3901b3..5b9b0ec 100644 --- a/util/mnemonic.go +++ b/util/mnemonic.go @@ -73,7 +73,7 @@ func SeedFromMnemonic(mnemonic string) ([]byte, error) { return nil, errors.New("mnemonic is invalid") } -// expandMnmenonic expands mnemonics from their 4-letter versions. +// expandMnemonic expands mnemonics from their 4-letter versions. func expandMnemonic(input string) string { wordList := bip39.GetWordList() truncatedWords := make(map[string]string, len(wordList))