Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Oct 3, 2024
1 parent 8d4caf6 commit aac8c64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/traffic/table/blob_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ import (
// randomMetadata generates a random BlobMetadata instance.
func randomMetadata(t *testing.T, permits int) *BlobMetadata {
key := make([]byte, 32)
batchHeaderHash := [32]byte{}
checksum := [16]byte{}
_, _ = rand.Read(key)
_, _ = rand.Read(checksum[:])
_, _ = rand.Read(batchHeaderHash[:])

batchHeaderHash := [32]byte{}
metadata, err := NewBlobMetadata(key, checksum, 1024, 0, batchHeaderHash, permits)
assert.Nil(t, err)

Expand Down

0 comments on commit aac8c64

Please sign in to comment.