mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
remove: Remove unnecessary trait implementation
This commit is contained in:
@ -212,10 +212,6 @@ impl From<EthereumTxEnvelope<TxEip4844WithSidecar<BlobTransactionSidecarVariant>
|
|||||||
impl Compress for TransactionSigned {
|
impl Compress for TransactionSigned {
|
||||||
type Compressed = Vec<u8>;
|
type Compressed = Vec<u8>;
|
||||||
|
|
||||||
fn compress(self) -> Self::Compressed {
|
|
||||||
self.into_inner().compress()
|
|
||||||
}
|
|
||||||
|
|
||||||
fn compress_to_buf<B: bytes::BufMut + AsMut<[u8]>>(&self, buf: &mut B) {
|
fn compress_to_buf<B: bytes::BufMut + AsMut<[u8]>>(&self, buf: &mut B) {
|
||||||
self.inner().compress_to_buf(buf);
|
self.inner().compress_to_buf(buf);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user