Skip to content

Commit

Permalink
fix(doc): remove misleading comment on last submitted height field (#967
Browse files Browse the repository at this point in the history
)
  • Loading branch information
danwt authored Jul 19, 2024
1 parent 9fa4109 commit cce7cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type Manager struct {
Submission
*/
// The last height which was submitted to both sublayers, that we know of. When we produce new batches, we will
// start at this height + 1. Note: only accessed by one thread at a time so doesn't need synchro.
// start at this height + 1.
// It is ALSO used by the producer, because the producer needs to check if it can prune blocks and it wont'
// prune anything that might be submitted in the future. Therefore, it must be atomic.
LastSubmittedHeight atomic.Uint64
Expand Down

0 comments on commit cce7cd3

Please sign in to comment.