pass the passphrase to retoken

This commit is contained in:
Bucko 2017-08-18 19:18:23 -07:00
parent 8f9f5dfc06
commit 4085e3d9b9

View File

@ -392,7 +392,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);
};