Skip to content

Commit 2e3971a

Browse files
authored
beacon/merkle: use reflect.TypeFor (#32322)
1 parent ec97ac7 commit 2e3971a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon/merkle/merkle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type Value [32]byte
3232
// Values represent a series of merkle tree leaves/nodes.
3333
type Values []Value
3434

35-
var valueT = reflect.TypeOf(Value{})
35+
var valueT = reflect.TypeFor[Value]()
3636

3737
// UnmarshalJSON parses a merkle value in hex syntax.
3838
func (m *Value) UnmarshalJSON(input []byte) error {

0 commit comments

Comments
 (0)