Skip to content
Snippets Groups Projects
Commit c11d2c8a authored by Wei Tang's avatar Wei Tang
Browse files

Remove unused grandpa parameters

parent 02cd1564
Branches
No related merge requests found
......@@ -12,14 +12,6 @@ use structopt::StructOpt;
/// Extend params for Node
#[derive(Debug, StructOpt)]
pub struct NodeParams {
/// Should run as a GRANDPA authority node
#[structopt(long = "grandpa-authority", help = "Run Node as a GRANDPA authority, implies --validator")]
grandpa_authority: bool,
/// Should run as a GRANDPA authority node only
#[structopt(long = "grandpa-authority-only", help = "Run Node as a GRANDPA authority only, don't as a usual validator, implies --grandpa-authority")]
grandpa_authority_only: bool,
#[structopt(flatten)]
core: CoreParams
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment