Skip to content

In frontend, if user keeps selling and selling, they will be able to keep selling untill a block is mined and their Notes balance is updated. #14

@DanielRomeo

Description

@DanielRomeo
  • How this happens is that: since the Notes balance remails the same untill a block is mined, the website's knowledge of how many notes the user owns will be restricted to the last time the last block was mined.

Prevention methods:

  • Restrict the user from making consecutive sells, only allow them to make a sell after a certain time limit. This will ensure that the block is mined before they make a transaction. There might still be issues here as well as the Notes are note dynamically updated on the frontend, meaning that the user can just choose not to refresh their page, and make another SELL request after a minute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions