From 7c1786d584d1acbe6e8cea2dae07d705fe48a787 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 16 Jun 2017 23:46:53 -0700 Subject: [PATCH] rpc: minor. --- lib/wallet/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet/rpc.js b/lib/wallet/rpc.js index aa00e8a9..34436ee9 100644 --- a/lib/wallet/rpc.js +++ b/lib/wallet/rpc.js @@ -753,7 +753,7 @@ RPC.prototype.importWallet = co(function* importWallet(args, help) { time = +parts[1]; label = parts[2]; - addr = parts[3]; + addr = parts[parts.length - 1]; keys.push(secret); }