diff --git a/types/rlp_unmarshal.go b/types/rlp_unmarshal.go index fef4710627..480acbe54d 100644 --- a/types/rlp_unmarshal.go +++ b/types/rlp_unmarshal.go @@ -390,6 +390,7 @@ func (r *rlpValues) dequeueValue() *fastrlp.Value { if len(*r) == 0 { return nil } + val := (*r)[0] *r = (*r)[1:]