staking miner: use config for emergency solution (#4694)

This commit is contained in:
Niklas Adolfsson
2022-01-11 19:30:24 +01:00
committed by GitHub
parent d929efff72
commit d278b63f6d
2 changed files with 5 additions and 8 deletions
-2
View File
@@ -319,12 +319,10 @@ struct MonitorConfig {
#[derive(Debug, Clone, StructOpt)]
struct EmergencySolutionConfig {
/// The block hash at which scraping happens. If none is provided, the latest head is used.
#[allow(dead_code)]
#[structopt(long)]
at: Option<Hash>,
/// The solver algorithm to use.
#[allow(dead_code)]
#[structopt(subcommand)]
solver: Solvers,