diff --git a/mobile/accounts.go b/mobile/accounts.go index 4a001dc905..6293cdb3cc 100644 --- a/mobile/accounts.go +++ b/mobile/accounts.go @@ -206,7 +206,7 @@ func (ks *KeyStore) ImportKey(keyJSON []byte, passphrase, newPassphrase string) return &Account{acc}, nil } -// ImportECDSAKey stores the given encrypted JSON key into the key directory. +// ImportECDSAKey stores the given key into the key directory, encrypting it with the passphrase. func (ks *KeyStore) ImportECDSAKey(key []byte, passphrase string) (account *Account, _ error) { privkey, err := crypto.ToECDSA(common.CopyBytes(key)) if err != nil {