aboutsummaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
Diffstat (limited to 'ffi')
-rw-r--r--ffi/go/bls/bls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/go/bls/bls.go b/ffi/go/bls/bls.go
index 2448c3c..a7bbeb3 100644
--- a/ffi/go/bls/bls.go
+++ b/ffi/go/bls/bls.go
@@ -15,7 +15,7 @@ import "unsafe"
// call this function before calling all the other operations
// this function is not thread safe
func Init(curve int) error {
- err := C.blsInit(C.int(curve), C.MCLBN_FP_UNIT_SIZE)
+ err := C.blsInit(C.int(curve), C.MCLBN_COMPILED_TIME_VAR)
if err != 0 {
return fmt.Errorf("ERR Init curve=%d", curve)
}