2
0
mirror of https://github.com/therootcompany/greenlock.js.git synced 2025-03-06 08:40:41 +00:00

remove deprecated

This commit is contained in:
AJ ONeal 2015-12-20 01:58:07 +00:00
parent b173d89a89
commit fd18ecd777

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;