Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Nov 27, 2024
1 parent 79a421a commit de84d7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flexidag/src/consensusdb/consensus_relations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ impl RelationsStore for DbRelationsStore {

let mut parent_to_children = HashMap::new();
for parent in parents.iter().cloned() {
let children = (*self.get_children(parent)?).clone();
children.push(hash.clone());
let mut children = (*self.get_children(parent)?).clone();
children.push(hash);
parent_to_children.insert(
parent
.encode()
Expand Down

0 comments on commit de84d7b

Please sign in to comment.