On this vote we don't check that the param is correct
https://github.com/marigold-dev/tzvote/blame/mainnet/contracts/tezosTemplate3.jsligo
We need to compare : Tezos.address (Tezos.implicit_account senderHashKey) to Tezos.get_source () to avoid hacks
Btw, also change the error label "Sender has no rolls and cannot vote" there is no more rolls
On this vote we don't check that the param is correct
https://github.com/marigold-dev/tzvote/blame/mainnet/contracts/tezosTemplate3.jsligo
We need to compare : Tezos.address (Tezos.implicit_account senderHashKey) to Tezos.get_source () to avoid hacks
Btw, also change the error label
"Sender has no rolls and cannot vote"there is no more rolls