mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-13 19:46:47 +00:00
10 lines
279 B
JavaScript
10 lines
279 B
JavaScript
|
// @flow
|
||
|
import PrivKeyWallet from './privkey';
|
||
|
import { decryptPresaleToPrivKey } from 'libs/keystore';
|
||
|
|
||
|
export default class PresaleWallet extends PrivKeyWallet {
|
||
|
constructor(keystore: string, password: string) {
|
||
|
super(decryptPresaleToPrivKey(keystore, password));
|
||
|
}
|
||
|
}
|