mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
beacon: using relfect.TypeFor
This commit is contained in:
parent
d4a3bf1b23
commit
53264ff404
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ type Value [32]byte
|
|||
// Values represent a series of merkle tree leaves/nodes.
|
||||
type Values []Value
|
||||
|
||||
var valueT = reflect.TypeOf(Value{})
|
||||
var valueT = reflect.TypeFor[Value]()
|
||||
|
||||
// UnmarshalJSON parses a merkle value in hex syntax.
|
||||
func (m *Value) UnmarshalJSON(input []byte) error {
|
||||
|
|
|
|||
Loading…
Reference in a new issue