remove deprecated
This commit is contained in:
parent
b173d89a89
commit
fd18ecd777
|
@ -103,7 +103,7 @@ function getAccount(accountId, args, handlers) {
|
||||||
return createAccount(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.accountId = accountId; // preserve current account id
|
||||||
files.publicKeySha256 = keypair.publicKeySha256;
|
files.publicKeySha256 = keypair.publicKeySha256;
|
||||||
files.publicKeyMd5 = keypair.publicKeyMd5;
|
files.publicKeyMd5 = keypair.publicKeyMd5;
|
||||||
|
|
Loading…
Reference in New Issue