fn map_commit_error(source: BoxError, hash: Hash) -> VerifyBlockErrorExpand description
Converts an error from a CommitSemanticallyVerifiedBlock state request
into a VerifyBlockError.
The state boxes commit errors as zs::CommitSemanticallyVerifiedError, a
newtype around zs::CommitBlockError, so the wrapper must be unwrapped
here for is_duplicate_request() and misbehavior_score() to classify
duplicate blocks as benign.