chore: rm reth error variant (#8440)

This commit is contained in:
Matthias Seitz
2024-05-28 19:05:47 +02:00
committed by GitHub
parent 3e7f1377ed
commit 409c15dde4
3 changed files with 10 additions and 16 deletions

View File

@ -169,7 +169,6 @@ impl From<PrunerError> for EngineHookError {
PrunerError::PruneSegment(_) | PrunerError::InconsistentData(_) => {
EngineHookError::Internal(Box::new(err))
}
PrunerError::Interface(err) => err.into(),
PrunerError::Database(err) => RethError::Database(err).into(),
PrunerError::Provider(err) => RethError::Provider(err).into(),
}