Skip to content

bugs when someone sends invalid values#2

Open
girino wants to merge 1 commit intoPawlicaWeb:masterfrom
girino:master
Open

bugs when someone sends invalid values#2
girino wants to merge 1 commit intoPawlicaWeb:masterfrom
girino:master

Conversation

@girino
Copy link

@girino girino commented Aug 7, 2014

The ponzi was breaking everytime someone sent values above the top limit. At first it wouldn't display anything, then, when i added checks for null/undefined fields. the values where all wrong. Figured out that the "amount" for those guys was accounted for, but not the "topay", which is always 0. I now ignore both.

@PawlicaWeb
Copy link
Owner

But that's the correct behaviour. Transactions with values under minimum or over maximum are treated as a donation.

@PawlicaWeb PawlicaWeb closed this Oct 7, 2014
@girino
Copy link
Author

girino commented Oct 7, 2014

I don't think you understand. This is not the current behaviour. The javascript for the system stops working whenever one of those "donations" occur, because the it tries to manipulate a null value. The code i submited fixes this bug. Check it out.

@PawlicaWeb PawlicaWeb reopened this Nov 11, 2014
@PawlicaWeb
Copy link
Owner

Okay, but can you at least rename new variables in index.php? 'tmp20140808' doesn't look very good.

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

Successfully merging this pull request may close these issues.

2 participants