From f695b681e7515a8193060f20d7af070f6d3ab842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20Mu=CC=88ller?= Date: Fri, 2 Feb 2018 16:43:37 -0800 Subject: [PATCH] mobile: fix documentation --- mobile/accounts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {