Skip to content

Commit

Permalink
revert experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
christophercampbell committed Jan 23, 2024
1 parent 803271c commit fc9d999
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions synchronizer/batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,10 @@ func (bs *BatchSynchronizer) handleEvent(event *polygonvalidium.PolygonvalidiumS

func (bs *BatchSynchronizer) resolve(batch batchKey) (*types.OffChainData, error) {
// First try to get the data from the trusted sequencer
/*
data := bs.trySequencer(batch)
if data != nil {
return data, nil
}
*/
data := bs.trySequencer(batch)
if data != nil {
return data, nil
}

// If the sequencer failed to produce data, try the other nodes
if len(bs.committee) == 0 {
Expand Down

0 comments on commit fc9d999

Please sign in to comment.