Skip to content

Commit

Permalink
push to process dag
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Mar 25, 2024
1 parent a7e660d commit dceca50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync/src/tasks/block_sync_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ where
while !dag_ancestors.is_empty() {
for ancestor_block_header_id in &dag_ancestors {
if self.chain.has_dag_block(*ancestor_block_header_id)? {
// process_dag_ancestors.push(ancestor_block_header_id.clone());
process_dag_ancestors.push(ancestor_block_header_id.clone());
continue;
// let block_info = self
// .local_store
Expand Down Expand Up @@ -563,7 +563,7 @@ where
executed_block.block.id(),
executed_block.block.header().number()
);
// process_dag_ancestors.push(executed_block.block.id());
process_dag_ancestors.push(executed_block.block.id());
self.notify_connected_block(
executed_block.block,
executed_block.block_info.clone(),
Expand Down

0 comments on commit dceca50

Please sign in to comment.