good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 01a98a45 authored by Giulio Rebuffo's avatar Giulio Rebuffo Committed by GitHub
Browse files

fixed finalized portion (#4181)

parent eb614bca
No related branches found
No related tags found
No related merge requests found
......@@ -470,14 +470,20 @@ func (s *EthBackendServer) EngineForkChoiceUpdatedV1(ctx context.Context, req *r
}, nil
}
log.Trace("[ForkChoiceUpdated] sending forkChoiceMessage", "head", forkChoice.HeadBlockHash)
s.requestList.AddForkChoiceRequest(&forkChoice)
payloadStatus := PayloadStatus{
Status: remote.EngineStatus_VALID,
}
payloadStatus := <-s.statusCh
log.Trace("[ForkChoiceUpdated] got reply", "payloadStatus", payloadStatus)
if (forkChoice.HeadBlockHash != common.Hash{} || forkChoice.HeadBlockHash != common.Hash{}) {
log.Trace("[ForkChoiceUpdated] sending forkChoiceMessage", "head", forkChoice.HeadBlockHash)
s.requestList.AddForkChoiceRequest(&forkChoice)
if payloadStatus.CriticalError != nil {
return nil, payloadStatus.CriticalError
payloadStatus = <-s.statusCh
log.Trace("[ForkChoiceUpdated] got reply", "payloadStatus", payloadStatus)
if payloadStatus.CriticalError != nil {
return nil, payloadStatus.CriticalError
}
}
// No need for payload building
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment