Skip to content

Commit

Permalink
fix: TestLoadBlockPart
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Sep 20, 2024
1 parent 235840d commit 4610dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func TestMain(m *testing.M) {
var cleanup cleanupFunc
state, _, cleanup = makeStateAndBlockStore(log.NewTMLogger(new(bytes.Buffer)))
block = makeBlock(1, state, new(types.Commit))
partSet = block.MakePartSet(2)
partSet = block.MakePartSet(types.BlockPartSizeBytes)
part1 = partSet.GetPart(0)
part2 = partSet.GetPart(1)
seenCommit1 = makeTestCommit(10, cmttime.Now())
Expand Down

0 comments on commit 4610dac

Please sign in to comment.