refactor: extract transaction consensus errors to standalone type (#1697)

This commit is contained in:
Matthias Seitz
2023-03-10 13:43:04 +01:00
committed by GitHub
parent ba96b9d165
commit ad5f9aa78c
17 changed files with 183 additions and 154 deletions

View File

@ -47,7 +47,7 @@ pub enum BlockValidation {
pub enum BlockImportError {
/// Consensus error
#[error(transparent)]
Consensus(#[from] reth_interfaces::consensus::Error),
Consensus(#[from] reth_interfaces::consensus::ConsensusError),
}
/// An implementation of `BlockImport` used in Proof-of-Stake consensus that does nothing.