Skip to content

Commit

Permalink
certifications_metadata not necessarily contains states_metadata heights
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuoWangNSL committed Aug 15, 2024
1 parent a6f6bdb commit c52b2c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rs/state_manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,6 @@ fn check_certifications_metadata_snapshots_and_states_metadata_are_consistent(
.filter(|h| h.get() != 0)
.collect::<Vec<_>>();
debug_assert_eq!(certification_heights, snapshot_heights);
for h in states.states_metadata.keys() {
debug_assert!(states.certifications_metadata.contains_key(h));
}
}

fn initialize_tip(
Expand Down

0 comments on commit c52b2c0

Please sign in to comment.