From c4ba9961024a76f7357b9ab19344c5e776245d84 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 22 Oct 2018 17:36:00 +0900 Subject: update new api of mclBn_init --- ffi/go/bls/bls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffi/go/bls') 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) } -- cgit v1.2.3