mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 17:28:00 +00:00
Imply forced authoring on --dev (#2498)
* Imply forced authoring on --dev * Combine conditionals
This commit is contained in:
committed by
Gavin Wood
parent
099ff629b6
commit
47e3dacc2d
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user