Imply forced authoring on --dev (#2498)

* Imply forced authoring on --dev

* Combine conditionals
This commit is contained in:
Michael Müller
2019-05-09 19:01:57 +02:00
committed by Gavin Wood
parent 099ff629b6
commit 47e3dacc2d
+2 -1
View File
@@ -501,7 +501,8 @@ where
config.telemetry_endpoints = Some(TelemetryEndpoints::new(cli.telemetry_endpoints));
}
config.force_authoring = cli.force_authoring;
// Imply forced authoring on --dev
config.force_authoring = cli.shared_params.dev || cli.force_authoring;
Ok(config)
}