Skip to content

Commit 3676b56

Browse files
crypto: speed up trusted setup
1 parent 35bcf78 commit 3676b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/kzg4844/kzg4844_ckzg_cgo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func ckzgInit() {
5959
for i, g2 := range params.SetupG2 {
6060
copy(g2s[i*(len(g2)-2)/2:], hexutil.MustDecode(g2))
6161
}
62-
if err = ckzg4844.LoadTrustedSetup(g1s, g1Lag, g2s, 1); err != nil {
62+
if err = ckzg4844.LoadTrustedSetup(g1s, g1Lag, g2s, 0); err != nil {
6363
panic(err)
6464
}
6565
}

0 commit comments

Comments
 (0)