Skip to content

Commit 17226b2

Browse files
radik878dot-asm
authored andcommitted
bindings/go/blst_minpk_test.go: fix the infinity uncompress test.
[and execute bindings/go/generate.py] Fixes #269
1 parent 374b7cd commit 17226b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bindings/go/blst_minpk_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func init() {
3030

3131
func TestInfinityMinPk(t *testing.T) {
3232
t.Parallel()
33-
var infComp [48]byte
33+
var infComp [BLST_P1_COMPRESS_BYTES]byte
3434
infComp[0] |= 0xc0
3535
new(PublicKeyMinPk).Uncompress(infComp[:])
3636
}

bindings/go/blst_minsig_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func init() {
3434

3535
func TestInfinityMinSig(t *testing.T) {
3636
t.Parallel()
37-
var infComp [48]byte
37+
var infComp [BLST_P2_COMPRESS_BYTES]byte
3838
infComp[0] |= 0xc0
3939
new(PublicKeyMinSig).Uncompress(infComp[:])
4040
}

0 commit comments

Comments
 (0)