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

Late users are able to pay more than the total round amount #22

Open
nitabx opened this issue Dec 15, 2021 · 0 comments
Open

Late users are able to pay more than the total round amount #22

nitabx opened this issue Dec 15, 2021 · 0 comments
Assignees

Comments

@nitabx
Copy link
Contributor

nitabx commented Dec 15, 2021

Describe the bug
When a user is late on payments, they are able to pay many times, even more than the total payment of the round. Once a payment is done the user still shows the late payment counter as if no payment was done and the payment is not reflected in totalCashIn or the user variables.

To Reproduce
Steps to reproduce the behavior:

  1. During the round one user misses a payment
  2. User executes addPayment function several times

Expected behavior
Once a user with late payments executes addPayment the latePayment and totalCashIn varibles should be updated accordingly

Screenshots
NA

Smartphone (please complete the following information):

  • Device:
  • OS: Android
  • Browser: Metamask
  • Version:

Additional context
NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants