8000 bugs when someone sends invalid values by girino · Pull Request #2 · tosty33/CryptoPonzi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bugs when someone sends invalid values #2

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

@tosty33
Copy link
Owner
tosty33 commented Oct 7, 2014

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

@tosty33 tosty33 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.

@tosty33 tosty33 reopened this Nov 11, 2014
@tosty33
Copy link
Owner
tosty33 commented Nov 11, 2014

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
0