mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-13 13:18:35 +00:00
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
This commit is contained in:
parent
9e0611b660
commit
5605f9d7ad
1 changed files with 0 additions and 4 deletions
|
|
@ -86,10 +86,6 @@ type Claim [32]byte
|
|||
// useCKZG controls whether the cryptography should use the Go or C backend.
|
||||
var useCKZG atomic.Bool
|
||||
|
||||
func init() {
|
||||
UseCKZG(true)
|
||||
}
|
||||
|
||||
// UseCKZG can be called to switch the default Go implementation of KZG to the C
|
||||
// library if for some reason the user wishes to do so (e.g. consensus bug in one
|
||||
// or the other).
|
||||
|
|
|
|||
Loading…
Reference in a new issue