message: Simplify error check in `validate_get_block_response()`
diff: @@ -297,8 +297,10 @@ pub(crate) fn validate_get_block_response(
  let result_legacy_hash = block.verify(EraId::from(0u64));
  let result_new_hash = block.verify(block.header().era_id() + 1);
  - match (result_legacy_hash, result_new_hash) {
  - (Ok(_), Ok(_)) | (Ok(_), Err(_)) | (Err(_), Ok(_)) => {
  + if result_legacy_hash.is_err() && result_new_hash.is_err() {
  + return result_new_hash.map_err(|e| e.into());
  + }
  +
  match maybe_block_identifier {
  Some(BlockIdentifier::Hash(block_hash)) => {
  if block_hash != block.hash() {
  @@ -319,6 +321,3 @@ pub(crate) fn validate_get_block_response(
  }
  Ok(())
  }
  - (Err(err), Err(_)) => Err(err.into()),
  - }
  -}
  