mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 14:27:57 +00:00
Don't run dev light client as validator (#4757)
A light client can not be a validator, so we should not set `authority == true` in dev mode.
This commit is contained in:
@@ -417,7 +417,10 @@ pub struct RunCmd {
|
||||
pub no_grandpa: bool,
|
||||
|
||||
/// Experimental: Run in light client mode.
|
||||
#[structopt(long = "light")]
|
||||
#[structopt(
|
||||
long = "light",
|
||||
conflicts_with_all = &[ "validator" ]
|
||||
)]
|
||||
pub light: bool,
|
||||
|
||||
/// Listen to all RPC interfaces.
|
||||
|
||||
Reference in New Issue
Block a user