Compare commits

...

1 Commits

Author SHA1 Message Date
terence tsao
4c94edb4b7 Update execution_engine.go 2022-05-12 07:00:07 -07:00

View File

@@ -60,10 +60,9 @@ func (s *Service) notifyForkchoiceUpdate(ctx context.Context, arg *notifyForkcho
return nil, errors.Wrap(err, "could not get execution payload")
}
finalizedHash := s.store.FinalizedPayloadBlockHash()
justifiedHash := s.store.JustifiedPayloadBlockHash()
fcs := &enginev1.ForkchoiceState{
HeadBlockHash: headPayload.BlockHash,
SafeBlockHash: justifiedHash[:],
SafeBlockHash: headPayload.BlockHash,
FinalizedBlockHash: finalizedHash[:],
}