Skip to content

Commit

Permalink
remove bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Sep 7, 2024
1 parent c5a4093 commit 6d27f2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions chain/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1481,9 +1481,7 @@ impl BlockChain {
}
// Caculate the ghostdata of the virutal node created by all tips.
// And the ghostdata.selected of the tips will be the latest head.
let block_hash = {
dag.ghost_dag_manager().find_selected_parent(tips.iter().copied())?
};
let block_hash = dag.ghost_dag_manager().find_selected_parent(tips.iter().copied())?;
let (block, block_info) = {
let block = self
.storage
Expand Down

0 comments on commit 6d27f2c

Please sign in to comment.