Skip to content

Commit 75f92c4

Browse files
style
1 parent 7ba5831 commit 75f92c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rs/consensus/src/consensus/validator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ enum InvalidArtifactReason {
122122
ReplicaVersionMismatch,
123123
NotABlockmaker,
124124
RegistryVersionNotFrozenDuringSubnetSplitting {
125-
subnet_split_scheduled_at: RegistryVersion,
126125
context_registry_version: RegistryVersion,
126+
subnet_split_scheduled_at: RegistryVersion,
127127
},
128128
WrongRegistryVersionAtSubnetSplittingSummary {
129129
context_registry_version: RegistryVersion,
@@ -1293,7 +1293,7 @@ impl Validator {
12931293
subnet_splitting::Status::NotScheduled => {}
12941294
subnet_splitting::Status::Scheduled { scheduled_at, .. } => {
12951295
// If a subnet splitting is scheduled, then this means that
1296-
// `last_summary_block_registry_version < scheduled_at <= proposal.context.registry_version`
1296+
// `scheduled_at <= proposal.context.registry_version`
12971297
// (see `subnet_splitting::get_status`).
12981298
// This should not happen for a data block, because the registry version should be
12991299
// frozen to a version lower than `scheduled_at` until reaching a summary.

0 commit comments

Comments
 (0)