mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 09:17:58 +00:00
improve ocw validator/collator CLI description (#12931)
* improve ocw validator/collator CLI description * rename WhenValidating to WhenAuthoring * Update client/cli/src/arg_enums.rs Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
This commit is contained in:
@@ -232,8 +232,9 @@ pub enum OffchainWorkerEnabled {
|
||||
Always,
|
||||
/// Never enable the offchain worker.
|
||||
Never,
|
||||
/// Only enable the offchain worker when running as validator.
|
||||
WhenValidating,
|
||||
/// Only enable the offchain worker when running as a validator (or collator, if this is a
|
||||
/// parachain node).
|
||||
WhenAuthority,
|
||||
}
|
||||
|
||||
/// Syncing mode.
|
||||
|
||||
Reference in New Issue
Block a user