Skip to content

BUG : check public key passed as parameter with source #43

@zamrokk

Description

@zamrokk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions