MyCrypto/common/libs/wallet/presale.js

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));
}
}