diff --git a/sync/src/tasks/block_sync_task.rs b/sync/src/tasks/block_sync_task.rs index b75f46b62a..087af6c316 100644 --- a/sync/src/tasks/block_sync_task.rs +++ b/sync/src/tasks/block_sync_task.rs @@ -564,7 +564,7 @@ where while !parent_block_ids.is_empty() { let mut next_parent_blocks = vec![]; for parent_block_id in parent_block_ids { - let mut parent_block = self + let parent_block = self .local_store .get_dag_sync_block(parent_block_id)? .ok_or_else(|| {