mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(interfaces): move BlockHashNotFoundInChain to BlockchainTreeError (#4697)
This commit is contained in:
@ -931,7 +931,7 @@ where
|
||||
})
|
||||
.with_latest_valid_hash(H256::zero())
|
||||
}
|
||||
RethError::Execution(BlockExecutionError::BlockHashNotFoundInChain { .. }) => {
|
||||
RethError::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