mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
core/types: remove extra byte when EncodeRLP for Receipt
This commit is contained in:
parent
4e18b25309
commit
5740ca1fe4
1 changed files with 0 additions and 1 deletions
|
|
@ -127,7 +127,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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue