Skip to content

Commit

Permalink
remove garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
racytech committed Dec 13, 2024
1 parent fbe4607 commit f6a0598
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions erigon-lib/rlp/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,13 +645,6 @@ func EncodeUint256(i *uint256.Int, w io.Writer, buffer []byte) error {
return err
}

type IoBytes []byte

func (b IoBytes) Write(p []byte) (n int, err error) {
b = append(b, p...)
return len(p), nil
}

func EncodeString(s []byte, w io.Writer, buffer []byte) error {
switch len(s) {
case 0:
Expand Down

0 comments on commit f6a0598

Please sign in to comment.