Merge pull request #286 from Bucko13/retoken-passphrase

pass the passphrase to retoken
This commit is contained in:
Christopher Jeffrey (JJ) 2017-10-18 22:31:43 -07:00 committed by GitHub
commit 26f9f975b2

View File

@ -387,7 +387,8 @@ CLI.prototype.getWalletBlock = async function getWalletBlock() {
};
CLI.prototype.retoken = async function retoken() {
const result = await this.wallet.retoken();
const passphrase = this.config.str('passphrase');
const result = await this.wallet.retoken(passphrase);
this.log(result);
};