Skip to content

Commit

Permalink
improve name
Browse files Browse the repository at this point in the history
  • Loading branch information
liamaharon committed Nov 17, 2023
1 parent 5284d4d commit d0e09ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/commands/on_runtime_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub struct Command {
/// Whether to enforce the new runtime `spec_version` is greater or equal to the existing
/// `spec_version`.
#[clap(long, default_value = "true", default_missing_value = "true")]
pub check_spec_version_increases: bool,
pub check_spec_version: bool,
}

// Runs the `on-runtime-upgrade` command.
Expand All @@ -82,7 +82,7 @@ where
let executor = build_executor(&shared);
let runtime_checks = RuntimeChecks {
name_matches: shared.check_spec_name,
version_increases: command.check_spec_version_increases,
version_increases: command.check_spec_version,
try_runtime_feature_enabled: true,
};
let ext = command
Expand Down

0 comments on commit d0e09ec

Please sign in to comment.