mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/types: remove withSidecar
This commit is contained in:
parent
97a2919561
commit
ee3c1d6163
1 changed files with 0 additions and 6 deletions
|
|
@ -191,12 +191,6 @@ func (tx *BlobTx) withoutSidecar() *BlobTx {
|
||||||
return &cpy
|
return &cpy
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tx *BlobTx) withSidecar(sidecar *BlobTxSidecar) *BlobTx {
|
|
||||||
cpy := *tx
|
|
||||||
cpy.Sidecar = sidecar
|
|
||||||
return &cpy
|
|
||||||
}
|
|
||||||
|
|
||||||
func (tx *BlobTx) encode(b *bytes.Buffer) error {
|
func (tx *BlobTx) encode(b *bytes.Buffer) error {
|
||||||
if tx.Sidecar == nil {
|
if tx.Sidecar == nil {
|
||||||
return rlp.Encode(b, tx)
|
return rlp.Encode(b, tx)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue