mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: blanket implementation for OpPooledTx (#14990)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -247,13 +247,7 @@ where
|
||||
/// Helper trait to provide payload builder with access to conditionals and encoded bytes of
|
||||
/// transaction.
|
||||
pub trait OpPooledTx: MaybeConditionalTransaction + PoolTransaction {}
|
||||
|
||||
impl<Cons, Pooled> OpPooledTx for OpPooledTransaction<Cons, Pooled>
|
||||
where
|
||||
Cons: SignedTransaction + From<Pooled>,
|
||||
Pooled: SignedTransaction + TryFrom<Cons, Error: core::error::Error>,
|
||||
{
|
||||
}
|
||||
impl<T> OpPooledTx for T where T: MaybeConditionalTransaction + PoolTransaction {}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
Reference in New Issue
Block a user