mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Remove useless let _
This commit is contained in:
@@ -474,7 +474,7 @@ where
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Ensure that `fork_choice.forkchoice_update_parameters.head_root` is updated.
|
// Ensure that `fork_choice.forkchoice_update_parameters.head_root` is updated.
|
||||||
let _ = fork_choice.get_head(current_slot, spec)?;
|
fork_choice.get_head(current_slot, spec)?;
|
||||||
|
|
||||||
Ok(fork_choice)
|
Ok(fork_choice)
|
||||||
}
|
}
|
||||||
@@ -1743,7 +1743,7 @@ where
|
|||||||
.set_all_blocks_to_optimistic::<E>()?;
|
.set_all_blocks_to_optimistic::<E>()?;
|
||||||
// If the second attempt at finding a head fails, return an error since we do not
|
// If the second attempt at finding a head fails, return an error since we do not
|
||||||
// expect this scenario.
|
// expect this scenario.
|
||||||
let _ = fork_choice.get_head(current_slot, spec)?;
|
fork_choice.get_head(current_slot, spec)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(fork_choice)
|
Ok(fork_choice)
|
||||||
|
|||||||
Reference in New Issue
Block a user