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:
bernardo
2022-12-16 05:49:36 -03:00
committed by GitHub
parent 83f31d84d3
commit 88feb686ee
2 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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.