core/types: remove withSidecar

This commit is contained in:
Felix Lange 2024-02-08 18:32:14 +01:00
parent 97a2919561
commit ee3c1d6163

View file

@ -191,12 +191,6 @@ func (tx *BlobTx) withoutSidecar() *BlobTx {
return &cpy
}
func (tx *BlobTx) withSidecar(sidecar *BlobTxSidecar) *BlobTx {
cpy := *tx
cpy.Sidecar = sidecar
return &cpy
}
func (tx *BlobTx) encode(b *bytes.Buffer) error {
if tx.Sidecar == nil {
return rlp.Encode(b, tx)