Weird error (828772)

Hey, so ive been coding in unity for like 2 and half weeks so far and i never had a error i couldnt fix until now, so i decided to post here. I am doing a crouch script and i got error saying missing } at 22th line of code, even tho it is there.. Can anyone help me with fixing the bug please?

[/ICODE]

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Crouch : MonoBehaviour
{
    CharacterController characterCollider;


    // Start is called before the first frame update
    void Start()
    {
        characterCollider = gameObject.GetComponent<CharacterController> ();
    }

    // Update is called once per frame
    void Update()
    {
        if(Input.GetKey(KeyCode.V));
        {
            characterCollider.height = 2.6f;
        }  
        else
        {
            characterCollider.height = 3.6f;
        }
    }
}

On line 19 you have this:

if(Input.GetKey(KeyCode.V));

Get rid of the ; from that line as that is ending the if statement,

Thank you, its working now!