Skip to content

Commit

Permalink
test: fixing a broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Dec 31, 2023
1 parent 09cd5a0 commit c57a3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestSortitionSeed(t *testing.T) {

t.Run("OK", func(t *testing.T) {
rndInt := td.RandUint32(conf.SortitionCacheSize)
rndInt += lastHeight - conf.SortitionCacheSize
rndInt += lastHeight - conf.SortitionCacheSize + 1

committedBlk, _ := td.store.Block(rndInt)
blk, _ := committedBlk.ToBlock()
Expand Down

0 comments on commit c57a3bf

Please sign in to comment.