CryptoPonzi icon indicating copy to clipboard operation
CryptoPonzi copied to clipboard

bugs when someone sends invalid values

Open girino opened this issue 10 years ago • 3 comments

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.

girino avatar Aug 07 '14 21:08 girino

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

tosty33 avatar Oct 07 '14 17:10 tosty33

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.

girino avatar Oct 07 '14 18:10 girino

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

tosty33 avatar Nov 11 '14 18:11 tosty33