I am new to flash loans. Let us say I have smart contract where people vote. Your voting power on this contract is based on how many token x you have. The votes are yes and no and the vote with more than 50% wins.
During voting, can an attacker take a flash loan and cast their vote to manipulate the results to what they want?