mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
crypto/kzg4844: use reflect.TypeFor (#32319)
This commit is contained in:
parent
f49f3ec780
commit
dfde155541
1 changed files with 3 additions and 3 deletions
|
|
@ -31,9 +31,9 @@ import (
|
|||
var content embed.FS
|
||||
|
||||
var (
|
||||
blobT = reflect.TypeOf(Blob{})
|
||||
commitmentT = reflect.TypeOf(Commitment{})
|
||||
proofT = reflect.TypeOf(Proof{})
|
||||
blobT = reflect.TypeFor[Blob]()
|
||||
commitmentT = reflect.TypeFor[Commitment]()
|
||||
proofT = reflect.TypeFor[Proof]()
|
||||
|
||||
CellProofsPerBlob = 128
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue