LOADING...
Captain congratulations you are almost done! Now, you should match the vote_type according to the input and increment 1 its related vote counts. Here is and different example:
match vote_type {
VoteType::YES => {
ctx.accounts.vote_account.yes += 1;
},
VoteType::NO => {
ctx.accounts.vote_account.no += 1;
},
};