Skip to content

Commit

Permalink
feat(taiko-client): only invalid status need to return error (#17266)
Browse files Browse the repository at this point in the history
Co-authored-by: David <[email protected]>
  • Loading branch information
mask-pp and davidtaikocha authored May 20, 2024
1 parent bca493f commit e7111e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (s *Syncer) TriggerBeaconSync(blockID uint64) error {
if err != nil {
return err
}
if fcRes.PayloadStatus.Status != engine.SYNCING {
if fcRes.PayloadStatus.Status == engine.INVALID {
return fmt.Errorf("unexpected ForkchoiceUpdate response status: %s", fcRes.PayloadStatus.Status)
}

Expand Down

0 comments on commit e7111e0

Please sign in to comment.