mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
crypto: using reflect.TypeFor
This commit is contained in:
parent
d4a3bf1b23
commit
77ab868d62
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