From dbddb6a5667e0581941b7f33f76e1ff439b12ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Tue, 14 Jun 2016 12:23:01 +0200 Subject: [PATCH] Fixing generating new token while another parity instance is running. (#1272) --- parity/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parity/main.rs b/parity/main.rs index 679bc012a..284dac673 100644 --- a/parity/main.rs +++ b/parity/main.rs @@ -109,6 +109,11 @@ fn execute(conf: Configuration) { return; } + if conf.args.cmd_signer { + execute_signer(conf); + return; + } + let spec = conf.spec(); let client_config = conf.client_config(&spec); @@ -133,11 +138,6 @@ fn execute(conf: Configuration) { return; } - if conf.args.cmd_signer { - execute_signer(conf); - return; - } - execute_client(conf, spec, client_config); }