Fixing generating new token while another parity instance is running. (#1272)

This commit is contained in:
Tomasz Drwięga 2016-06-14 12:23:01 +02:00 committed by Gav Wood
parent ca33f7c18d
commit dbddb6a566

View File

@ -109,6 +109,11 @@ fn execute(conf: Configuration) {
return; return;
} }
if conf.args.cmd_signer {
execute_signer(conf);
return;
}
let spec = conf.spec(); let spec = conf.spec();
let client_config = conf.client_config(&spec); let client_config = conf.client_config(&spec);
@ -133,11 +138,6 @@ fn execute(conf: Configuration) {
return; return;
} }
if conf.args.cmd_signer {
execute_signer(conf);
return;
}
execute_client(conf, spec, client_config); execute_client(conf, spec, client_config);
} }