Skip to content

Commit

Permalink
Remove duplicate write transaction types
Browse files Browse the repository at this point in the history
  • Loading branch information
niuxiaojie81 committed Oct 30, 2024
1 parent 9839ca0 commit f6302ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/types/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ func (r *Receipt) EncodeRLP(w io.Writer) error {
buf := encodeBufferPool.Get().(*bytes.Buffer)
defer encodeBufferPool.Put(buf)
buf.Reset()
buf.WriteByte(r.Type)
if err := r.encodeTyped(data, buf); err != nil {
return err
}
Expand Down

0 comments on commit f6302ca

Please sign in to comment.