We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda5afb commit 780a592Copy full SHA for 780a592
libevm/pseudo/type.go
@@ -231,6 +231,9 @@ func (c *concrete[T]) UnmarshalJSON(b []byte) error {
231
func (c *concrete[T]) EncodeRLP(w io.Writer) error { return rlp.Encode(w, c.val) }
232
233
func (c *concrete[T]) DecodeRLP(s *rlp.Stream) error {
234
- s.Kind() // is this required?
+ if _, _, err := s.Kind(); err != nil {
235
+ // DO NOT MERGE: is calling Kind() a necessary step?
236
+ return err
237
+ }
238
return s.Decode(c.val)
239
}
0 commit comments