Skip to content

Commit

Permalink
NextChunkStartEpoch: Fix function comment.
Browse files Browse the repository at this point in the history
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
  • Loading branch information
nalepae and prestonvanloon authored Feb 8, 2024
1 parent ec50e01 commit 40eccfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon-chain/slasher/chunks.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ func (m *MinSpanChunksSlice) NextChunkStartEpoch(startEpoch primitives.Epoch) pr
// first_epoch(chunkIndex(startEpoch)+1)
// first_epoch(chunkIndex(3)+1)
// first_epoch(1 + 1)
// first_epoch(6)
// 4
// first_epoch(2)
// 6
func (m *MaxSpanChunksSlice) NextChunkStartEpoch(startEpoch primitives.Epoch) primitives.Epoch {
return m.params.firstEpoch(m.params.chunkIndex(startEpoch) + 1)
}
Expand Down

0 comments on commit 40eccfc

Please sign in to comment.