Skip to content

Commit

Permalink
Remove extra update forkchoice head
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed Mar 19, 2024
1 parent 39b1113 commit 7d02297
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/beacon-node/src/api/impl/validator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ export function getValidatorApi({
// forkChoice.updateTime() might have already been called by the onSlot clock
// handler, in which case this should just return.
chain.forkChoice.updateTime(slot);
chain.recomputeForkChoiceHead();

const fork = config.getForkName(slot);
// set some sensible opts
Expand Down

0 comments on commit 7d02297

Please sign in to comment.