More cases
This commit is contained in:
parent
568dc90769
commit
3e7edb2665
@ -117,9 +117,9 @@ API and Console Options:
|
|||||||
[default: $HOME/.parity/dapps]
|
[default: $HOME/.parity/dapps]
|
||||||
|
|
||||||
--signer Enable Trusted Signer WebSocket endpoint used by
|
--signer Enable Trusted Signer WebSocket endpoint used by
|
||||||
Signer UIs. Default if no command is specified.
|
|
||||||
--no-signer Disable Trusted Signer WebSocket endpoint used by
|
|
||||||
Signer UIs. Default if run with ui command.
|
Signer UIs. Default if run with ui command.
|
||||||
|
--no-signer Disable Trusted Signer WebSocket endpoint used by
|
||||||
|
Signer UIs. Default if no command is specified.
|
||||||
--signer-port PORT Specify the port of Trusted Signer server
|
--signer-port PORT Specify the port of Trusted Signer server
|
||||||
[default: 8180].
|
[default: 8180].
|
||||||
--signer-path PATH Specify directory where Signer UIs tokens should
|
--signer-path PATH Specify directory where Signer UIs tokens should
|
||||||
|
@ -441,7 +441,7 @@ impl Configuration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn signer_port(&self) -> Option<u16> {
|
pub fn signer_port(&self) -> Option<u16> {
|
||||||
if !self.args.flag_signer {
|
if !self.signer_enabled() {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
Some(self.args.flag_signer_port)
|
Some(self.args.flag_signer_port)
|
||||||
|
@ -278,7 +278,7 @@ fn execute_client(conf: Configuration, spec: Spec, client_config: ClientConfig)
|
|||||||
|
|
||||||
// Set up a signer
|
// Set up a signer
|
||||||
let signer_server = signer::start(signer::Configuration {
|
let signer_server = signer::start(signer::Configuration {
|
||||||
enabled: deps_for_rpc_apis.signer_port.is_some(),
|
enabled: conf.signer_enabled(),
|
||||||
port: conf.args.flag_signer_port,
|
port: conf.args.flag_signer_port,
|
||||||
signer_path: conf.directories().signer,
|
signer_path: conf.directories().signer,
|
||||||
}, signer::Dependencies {
|
}, signer::Dependencies {
|
||||||
|
Loading…
Reference in New Issue
Block a user