mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
mobile: fix documentation
This commit is contained in:
parent
0553c2cf5e
commit
f695b681e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue