Skip to content

Commit

Permalink
thank you linter
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Sep 21, 2021
1 parent 5ee5b96 commit 422eb4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var (
// NewBaseHashFunc change accordingly if another hash.Hash should be used as a base hasher in the NMT:
NewBaseHashFunc = sha256.New

// DefaultCodec is the defualt codec creator used for data erasure
// DefaultCodec is the default codec creator used for data erasure
// TODO(ismail): for better efficiency and a larger number shares
// we should switch to the rsmt2d.LeopardFF16 codec:
DefaultCodec = rsmt2d.NewRSGF8Codec
Expand Down
9 changes: 4 additions & 5 deletions pkg/da/data_availability_header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,10 @@ func TestNewDataAvailabilityHeader(t *testing.T) {

func TestExtendShares(t *testing.T) {
type test struct {
name string
expectedHash []byte
expectedErr bool
squareSize uint64
shares [][]byte
name string
expectedErr bool
squareSize uint64
shares [][]byte
}

tests := []test{
Expand Down

0 comments on commit 422eb4d

Please sign in to comment.