mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-21 23:38:31 +00:00
10 lines
315 B
JavaScript
10 lines
315 B
JavaScript
|
// @flow
|
||
|
import PrivKeyWallet from './privkey';
|
||
|
import { decryptMnemonicToPrivKey } from 'libs/decrypt';
|
||
|
|
||
|
export default class MnemonicWallet extends PrivKeyWallet {
|
||
|
constructor(phrase: string, pass: string, path: string, address: string) {
|
||
|
super(decryptMnemonicToPrivKey(phrase, pass, path, address));
|
||
|
}
|
||
|
}
|