From f6302caa3119e44178f5d8998ccc60ea80f5eb00 Mon Sep 17 00:00:00 2001 From: niuxiaojie81 <85773309@qq.com> Date: Wed, 30 Oct 2024 12:30:44 +0800 Subject: [PATCH] Remove duplicate write transaction types --- core/types/receipt.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/types/receipt.go b/core/types/receipt.go index 746ce01105..d34705760f 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -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 }