diff --git a/api/proto/node/node.proto b/api/proto/node/node.proto index 5319807ba7..c6636d9ac8 100644 --- a/api/proto/node/node.proto +++ b/api/proto/node/node.proto @@ -108,7 +108,7 @@ message Bundle { message BlobHeader { // The KZG commitment to the polynomial representing the blob. bytes commitment = 1; - // The KZG commitment to the polynomial representing the blob on G2, it is uesd + // The KZG commitment to the polynomial representing the blob on G2, it is used // for proving the degree of the polynomial bytes length_commitment = 2; // The low degree proof. It's the KZG commitment to the polynomial shifted to diff --git a/pkg/encoding/kzgEncoder/degree_test.go b/pkg/encoding/kzgEncoder/degree_test.go index 3b263ae200..de42e80fde 100644 --- a/pkg/encoding/kzgEncoder/degree_test.go +++ b/pkg/encoding/kzgEncoder/degree_test.go @@ -30,9 +30,7 @@ func TestLengthProof(t *testing.T) { length := len(inputFr) assert.True(t, group.VerifyCommit(lowDegreeCommitment, lowDegreeProof, uint64(length)) == nil, "low degree verification failed\n") - length = len(inputFr) - 10 + length = len(inputFr) - 10 assert.False(t, group.VerifyCommit(lowDegreeCommitment, lowDegreeProof, uint64(length)) == nil, "low degree verification failed\n") } } - -