Update decode.go

This commit is contained in:
Felix Lange 2025-08-07 14:16:42 +02:00 committed by GitHub
parent 1ba7d7b127
commit 6a6ba5d602
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -512,7 +512,7 @@ func makeNilPtrDecoder(etype reflect.Type, etypeinfo *typeinfo, ts rlpstruct.Tag
}
}
var ifsliceType = reflect.TypeFor[[]interface{}]()
var ifsliceType = reflect.TypeFor[[]any]()
func decodeInterface(s *Stream, val reflect.Value) error {
if val.Type().NumMethod() != 0 {