mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
Update decode.go
This commit is contained in:
parent
1ba7d7b127
commit
6a6ba5d602
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue