diff --git a/pkg/consts/consts.go b/pkg/consts/consts.go index 59acaf4b08..36d83231a1 100644 --- a/pkg/consts/consts.go +++ b/pkg/consts/consts.go @@ -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 diff --git a/pkg/da/data_availability_header_test.go b/pkg/da/data_availability_header_test.go index b5540e09d4..3e16f1019c 100644 --- a/pkg/da/data_availability_header_test.go +++ b/pkg/da/data_availability_header_test.go @@ -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{