Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[contracts] Balances are not updated when tokens are transfered #17

Open
Willgg opened this issue May 20, 2022 · 0 comments
Open

[contracts] Balances are not updated when tokens are transfered #17

Willgg opened this issue May 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Willgg
Copy link
Contributor

Willgg commented May 20, 2022

Claim() and Cancel() do not update the balances of accounts. The variable _balances must be updated. As this update is done many times in this contract the update of balances must be refactored in a dedicated function.

function claim(uint256 id) external override returns (bool) {

function cancel(uint256 id) external override returns (bool) {

@Willgg Willgg added the bug Something isn't working label May 20, 2022
@Willgg Willgg self-assigned this May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant