From fb2abdeec5ce179e70c198ffd500272ba0c33e13 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 10 Apr 2017 07:58:05 +0900 Subject: fix fmt --- go/blscgo/bls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go') diff --git a/go/blscgo/bls.go b/go/blscgo/bls.go index 009ab20..ae16a4c 100644 --- a/go/blscgo/bls.go +++ b/go/blscgo/bls.go @@ -242,7 +242,7 @@ func (sec *PublicKey) GetData() []byte { fpSize := GetOpUnitSize() * 8 buf := make([]byte, fpSize*2) n := C.blsPublicKeyGetData(sec.getPointer(), (*C.char)(unsafe.Pointer(&buf[0])), C.size_t(len(buf))) - if n != C.size_t(fpSize * 2) { + if n != C.size_t(fpSize*2) { panic("implementation err. size of buf is small") } return buf -- cgit v1.2.3