Fixing generating new token while another parity instance is running. (#1272)
This commit is contained in:
parent
ca33f7c18d
commit
dbddb6a566
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user