OSDN Git Service
(root)
/
bytom
/
Bytom-JS-SDK.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update and test the key logic
[bytom/Bytom-JS-SDK.git]
/
src
/
utils
/
account.js
1
import {decryptKey} from './key/keystore';
2
3
export function restoreFromKeyStore(v3Keystore, password){
4
const key = decryptKey(v3Keystore, password)
5
return key.xPub;
6
7
}