Merge pull request #286 from Bucko13/retoken-passphrase
pass the passphrase to retoken
This commit is contained in:
commit
26f9f975b2
3
bin/cli
3
bin/cli
@ -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);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user