Skip to content

Commit

Permalink
rlp: fix typo in comment (ethereum#24595)
Browse files Browse the repository at this point in the history
Co-authored-by: Yong Yang <yangyong775654@163.com>
  • Loading branch information
2 people authored and cp-wjhan committed Nov 27, 2022
1 parent 8d33e21 commit eef83ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rlp/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ call EncodeRLP on nil pointer values.
To encode a pointer, the value being pointed to is encoded. A nil pointer to a struct
type, slice or array always encodes as an empty RLP list unless the slice or array has
elememt type byte. A nil pointer to any other value encodes as the empty string.
element type byte. A nil pointer to any other value encodes as the empty string.
Struct values are encoded as an RLP list of all their encoded public fields. Recursive
struct types are supported.
Expand Down

0 comments on commit eef83ea

Please sign in to comment.