Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LEAFERx committed Feb 22, 2024
1 parent e4b71ef commit ce46f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/driver/engine_driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ pub async fn execute_action<E: Engine>(
engine_driver.update_unsafe_head(safe_head, safe_epoch);
}
ChainHeadType::Unsafe(_) => {
// `determin_action` will mark `reorg_unsafe` as true only if target will reorg the chain.
// `determine_action` will mark `reorg_unsafe` as true only if target will reorg the chain.
// When the target is unsafe, we should simply drop the attributes.
return Err(EngineDriverError::UnsafeHeadMismatch(
"determin_action".into(),
"determine_action".into(),
H256::zero(), // Attributes are not processed, so no hash.
engine_driver.unsafe_head.hash,
));
Expand Down

0 comments on commit ce46f9c

Please sign in to comment.