Skip to content

Commit

Permalink
turn decodeRelTimestamp into milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
fahimahmedx committed Jul 30, 2024
1 parent 0937784 commit 1dd89eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/rollup/derive/span_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (bp *spanBatchPrefix) decodeRelTimestamp(r *bytes.Reader) error {
if err != nil {
return fmt.Errorf("failed to read rel timestamp: %w", err)
}
bp.relTimestamp = timeint.FromUint64SecToSec(relTimestamp) // is relTimestamp in seconds or milliseconds?
bp.relTimestamp = timeint.FromUint64MilliToMilli(relTimestamp)
return nil
}

Expand Down

0 comments on commit 1dd89eb

Please sign in to comment.