Skip to content

Commit 5605f9d

Browse files
crypto/kzg4844: remove kzg initialization (#32017)
This fixes a regression in the state tests where we always initialized the KZG library. This was added to test some stuff in #31791
1 parent 9e0611b commit 5605f9d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crypto/kzg4844/kzg4844.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ type Claim [32]byte
8686
// useCKZG controls whether the cryptography should use the Go or C backend.
8787
var useCKZG atomic.Bool
8888

89-
func init() {
90-
UseCKZG(true)
91-
}
92-
9389
// UseCKZG can be called to switch the default Go implementation of KZG to the C
9490
// library if for some reason the user wishes to do so (e.g. consensus bug in one
9591
// or the other).

0 commit comments

Comments
 (0)