From 4085e3d9b9d17feaa4a69410c5f592963cd86602 Mon Sep 17 00:00:00 2001 From: Bucko Date: Fri, 18 Aug 2017 19:18:23 -0700 Subject: [PATCH] pass the passphrase to retoken --- bin/cli | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cli b/bin/cli index 77abe537..9ca2a47b 100755 --- a/bin/cli +++ b/bin/cli @@ -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); };