all: add whitespace linter (#25312)
* golangci: typo Signed-off-by: Delweng <delweng@gmail.com> * golangci: add whietspace Signed-off-by: Delweng <delweng@gmail.com> * *: rm whitesapce using golangci-lint Signed-off-by: Delweng <delweng@gmail.com> * cmd/puppeth: revert accidental resurrection Co-authored-by: Péter Szilágyi <peterke@gmail.com>
This commit is contained in:
co-authored by
Péter Szilágyi
parent
6c4e5d06e7
commit
b196ad1c16
@@ -102,7 +102,6 @@ func TestFieldElementEquality(t *testing.T) {
|
||||
if a12.equal(b12) {
|
||||
t.Fatal("a != a + 1")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestFieldElementHelpers(t *testing.T) {
|
||||
|
||||
@@ -96,7 +96,6 @@ func (e *fp12) add(c, a, b *fe12) {
|
||||
fp6 := e.fp6
|
||||
fp6.add(&c[0], &a[0], &b[0])
|
||||
fp6.add(&c[1], &a[1], &b[1])
|
||||
|
||||
}
|
||||
|
||||
func (e *fp12) double(c, a *fe12) {
|
||||
@@ -109,7 +108,6 @@ func (e *fp12) sub(c, a, b *fe12) {
|
||||
fp6 := e.fp6
|
||||
fp6.sub(&c[0], &a[0], &b[0])
|
||||
fp6.sub(&c[1], &a[1], &b[1])
|
||||
|
||||
}
|
||||
|
||||
func (e *fp12) neg(c, a *fe12) {
|
||||
|
||||
@@ -465,7 +465,6 @@ func TestFpNonResidue(t *testing.T) {
|
||||
i -= 1
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestFp2Serialization(t *testing.T) {
|
||||
|
||||
@@ -41,7 +41,6 @@ func (p *PointG2) Zero() *PointG2 {
|
||||
p[1].one()
|
||||
p[2].zero()
|
||||
return p
|
||||
|
||||
}
|
||||
|
||||
type tempG2 struct {
|
||||
|
||||
@@ -334,7 +334,6 @@ func testParamSelection(t *testing.T, c testCase) {
|
||||
if err == nil {
|
||||
t.Fatalf("ecies: encryption should not have succeeded (%s)\n", c.Name)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Ensure that the basic public key validation in the decryption operation
|
||||
|
||||
Reference in New Issue
Block a user