mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
beacon/merkle: use reflect.TypeFor (#32322)
This commit is contained in:
parent
ec97ac7085
commit
2e3971aed1
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