Skip to content

Commit

Permalink
One more change to naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Jan 7, 2025
1 parent d0a88f9 commit 399bff5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions consensus/src/creation/creator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ impl<H: Hasher> Creator<H> {
.ok_or(ConstraintError::NotEnoughParents)?
.prospective_parents(self.node_id)?
.clone();
let mut parents_with_rounds = NodeMap::with_size(parents.size());
let mut parents_with_rounds_and_hashes = NodeMap::with_size(parents.size());
for (parent_index, hash) in parents.into_iter() {
// we cannot have here round 0 units
parents_with_rounds.insert(parent_index, (hash, prev_round));
parents_with_rounds_and_hashes.insert(parent_index, (hash, prev_round));
}
parents_with_rounds
parents_with_rounds_and_hashes
}
};

Expand Down

0 comments on commit 399bff5

Please sign in to comment.