From 704c7f6d5f99ebb6bda84f635122e449ee51aa48 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 16 Mar 2024 13:53:48 +0100 Subject: [PATCH] bindings/go/blst_minpk.tgo: resolve golint nits. --- bindings/go/blst.go | 4 ++-- bindings/go/blst_minpk.tgo | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/go/blst.go b/bindings/go/blst.go index 06fc23f5..1a607add 100644 --- a/bindings/go/blst.go +++ b/bindings/go/blst.go @@ -797,7 +797,7 @@ func (_ *P2Affine) MultipleAggregateVerify(sigs []*P2Affine, } paramsFn := - func(work uint32, sig *P2Affine, pk *P1Affine, rand *Scalar) ( + func(work uint32, _ *P2Affine, _ *P1Affine, rand *Scalar) ( *P2Affine, *P1Affine, *Scalar, []byte) { randFn(rand) var aug []byte @@ -1399,7 +1399,7 @@ func (_ *P1Affine) MultipleAggregateVerify(sigs []*P1Affine, } paramsFn := - func(work uint32, sig *P1Affine, pk *P2Affine, rand *Scalar) ( + func(work uint32, _ *P1Affine, _ *P2Affine, rand *Scalar) ( *P1Affine, *P2Affine, *Scalar, []byte) { randFn(rand) var aug []byte diff --git a/bindings/go/blst_minpk.tgo b/bindings/go/blst_minpk.tgo index 5e7e6a5b..c449fba4 100644 --- a/bindings/go/blst_minpk.tgo +++ b/bindings/go/blst_minpk.tgo @@ -345,7 +345,7 @@ func (_ *P2Affine) MultipleAggregateVerify(sigs []*P2Affine, } paramsFn := - func(work uint32, sig *P2Affine, pk *P1Affine, rand *Scalar) ( + func(work uint32, _ *P2Affine, _ *P1Affine, rand *Scalar) ( *P2Affine, *P1Affine, *Scalar, []byte) { randFn(rand) var aug []byte