Skip to content

Commit

Permalink
chore: placate the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ARR4N committed Oct 1, 2024
1 parent cda5afb commit 780a592
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libevm/pseudo/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ func (c *concrete[T]) UnmarshalJSON(b []byte) error {
func (c *concrete[T]) EncodeRLP(w io.Writer) error { return rlp.Encode(w, c.val) }

func (c *concrete[T]) DecodeRLP(s *rlp.Stream) error {
s.Kind() // is this required?
if _, _, err := s.Kind(); err != nil {
// DO NOT MERGE: is calling Kind() a necessary step?
return err
}
return s.Decode(c.val)
}

0 comments on commit 780a592

Please sign in to comment.