chore: add missing from impl (#13477)

This commit is contained in:
Matthias Seitz
2024-12-20 15:03:07 +01:00
committed by GitHub
parent a9f835defc
commit 4e9f8c2747

View File

@ -1191,6 +1191,12 @@ impl From<RecoveredTx> for TransactionSigned {
}
}
impl From<RecoveredTx<PooledTransaction>> for TransactionSigned {
fn from(recovered: RecoveredTx<PooledTransaction>) -> Self {
recovered.signed_transaction.into()
}
}
impl TryFrom<TransactionSigned> for PooledTransaction {
type Error = TransactionConversionError;