mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(tree): remove redundant BlockchainTree RethError variant (#5269)
This commit is contained in:
@ -955,7 +955,9 @@ where
|
||||
})
|
||||
.with_latest_valid_hash(B256::ZERO)
|
||||
}
|
||||
RethError::BlockchainTree(BlockchainTreeError::BlockHashNotFoundInChain { .. }) => {
|
||||
RethError::Canonical(CanonicalError::BlockchainTree(
|
||||
BlockchainTreeError::BlockHashNotFoundInChain { .. },
|
||||
)) => {
|
||||
// This just means we couldn't find the block when attempting to make it canonical,
|
||||
// so we should not warn the user, since this will result in us attempting to sync
|
||||
// to a new target and is considered normal operation during sync
|
||||
|
||||
Reference in New Issue
Block a user