diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-22 16:36:00 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-22 16:36:00 +0800 |
commit | c4ba9961024a76f7357b9ab19344c5e776245d84 (patch) | |
tree | 42dba519a2faec63169710d777cb298309a0fd32 /ffi/go | |
parent | ae27eb0267ff59f562bcf0cefa45db23c7374467 (diff) | |
download | dexon-bls-c4ba9961024a76f7357b9ab19344c5e776245d84.tar dexon-bls-c4ba9961024a76f7357b9ab19344c5e776245d84.tar.gz dexon-bls-c4ba9961024a76f7357b9ab19344c5e776245d84.tar.bz2 dexon-bls-c4ba9961024a76f7357b9ab19344c5e776245d84.tar.lz dexon-bls-c4ba9961024a76f7357b9ab19344c5e776245d84.tar.xz dexon-bls-c4ba9961024a76f7357b9ab19344c5e776245d84.tar.zst dexon-bls-c4ba9961024a76f7357b9ab19344c5e776245d84.zip |
update new api of mclBn_init
Diffstat (limited to 'ffi/go')
-rw-r--r-- | ffi/go/bls/bls.go | 2 |
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) } |