remove deprecated

This commit is contained in:
AJ ONeal 2015-12-20 01:58:07 +00:00
parent b173d89a89
commit fd18ecd777
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ function getAccount(accountId, args, handlers) {
return createAccount(args, handlers);
}
return leCrypto.parseAccountPrivateKeyAsync(files.private_key).then(function (keypair) {
return leCrypto.privateJwkToPemsAsync(files.private_key).then(function (keypair) {
files.accountId = accountId; // preserve current account id
files.publicKeySha256 = keypair.publicKeySha256;
files.publicKeyMd5 = keypair.publicKeyMd5;