Skip to content

Giving score 0: backend can't differ null score and 0 score #26

Description

@nichoio

After a score was given and the transaction is being processed, the value in scores[] in the contract is still 0. Since this is different from null being the default value in DB, null gets overriden with 0.
The proper score will never be saved bc db thinks the transaction is confirmed changing those values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions