mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 16:31:07 +00:00
Make --alice etc implicitly enable --validator (#3369)
This commit is contained in:
@@ -703,7 +703,7 @@ where
|
||||
let role =
|
||||
if cli.light {
|
||||
service::Roles::LIGHT
|
||||
} else if cli.validator || is_dev {
|
||||
} else if cli.validator || is_dev || cli.keyring.account.is_some() {
|
||||
service::Roles::AUTHORITY
|
||||
} else {
|
||||
service::Roles::FULL
|
||||
|
||||
Reference in New Issue
Block a user