mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: refactor BlockExecutionError into validation and internal errors (#9911)
This commit is contained in:
@@ -289,10 +289,7 @@ impl InsertBlockErrorKind {
|
||||
true
|
||||
}
|
||||
// these are internal errors, not caused by an invalid block
|
||||
BlockExecutionError::LatestBlock(_) |
|
||||
BlockExecutionError::Pruning(_) |
|
||||
BlockExecutionError::AppendChainDoesntConnect { .. } |
|
||||
BlockExecutionError::Other(_) => false,
|
||||
BlockExecutionError::Internal(_) => false,
|
||||
}
|
||||
}
|
||||
Self::Tree(err) => {
|
||||
|
||||
Reference in New Issue
Block a user