Skip to content

Commit

Permalink
Fixup comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neopallium committed May 14, 2024
1 parent 24b2c85 commit 360a53d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/develop/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub mod time {
pub const HOURS: BlockNumber = MINUTES * 60;
pub const DAYS: BlockNumber = HOURS * 24;

// Disable babe's primary selector, only use the plain secondary selector.
// 1 in 4 blocks (on average, not counting collisions) will be primary babe blocks.
pub const PRIMARY_PROBABILITY: (u64, u64) = (1, 4);
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/production/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub mod time {
pub const HOURS: BlockNumber = MINUTES * 60;
pub const DAYS: BlockNumber = HOURS * 24;

// Disable babe's primary selector, only use the plain secondary selector.
// 1 in 4 blocks (on average, not counting collisions) will be primary babe blocks.
pub const PRIMARY_PROBABILITY: (u64, u64) = (1, 4);
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/tests/src/test_runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type CddServiceProvider = group::Module<TestRuntime, group::Instance2>;
type Balance = u128;
type RuntimeBaseCallFilter = TestBaseCallFilter;

// Disable babe's primary selector, only use the plain secondary selector.
// 1 in 4 blocks (on average, not counting collisions) will be primary babe blocks.
const PRIMARY_PROBABILITY: (u64, u64) = (1, 4);
const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("test-runtime"),
Expand Down

0 comments on commit 360a53d

Please sign in to comment.