Skip to content

Commit

Permalink
Merge pull request #79 from EspressoSystems/ma/fix-zero-timestamp
Browse files Browse the repository at this point in the history
Use zero unix timestamp instead of zero timestamp
  • Loading branch information
sveitser authored Sep 27, 2023
2 parents 066378d + f562bb3 commit adb1e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synchronizer/synchronizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (s *ClientSynchronizer) Sync() error {
ParentHash: header.ParentHash,
// TODO: Setting this "zero" timestamp is a workaround
// See: https://github.com/EspressoSystems/espresso-sequencer/issues/631
ReceivedAt: time.Time{},
ReceivedAt: time.Unix(0, 0),
}
newRoot, err := s.state.SetGenesis(s.ctx, *lastEthBlockSynced, s.genesis, dbTx)
if err != nil {
Expand Down

0 comments on commit adb1e47

Please sign in to comment.