diff --git a/chain/src/chain.rs b/chain/src/chain.rs index b8a06fbc60..b2124f8da7 100644 --- a/chain/src/chain.rs +++ b/chain/src/chain.rs @@ -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