globalzon / yaamp

Crypto mining pool
108 stars 1.01k forks source link

API Json Error Unsold BUG #70

Open gameplaytactics opened 5 years ago

gameplaytactics commented 5 years ago

The wallet Api has an error for unsold.

I am looking at

https://github.com/tpruvot/yiimp/blob/next/web/yaamp/modules/api/ApiController.php

to comment or edit the unsold api bug.

If anyone has a fix it will help alot.

{"currency": "BTC", "unsold": , "balance": 0.00000000, "unpaid": 0.00000000, "paid24h": 0.00000000, "total": 0.00000000, "miners": [{"version": "bmminer\/2.0.0", "password": "c=BTC", "ID": "", "algo": "sha256", "difficulty": 88548, "subscribe": 0, "accepted": 12981274082175, "rejected": 0}]}

https://i.imgur.com/fR3srmj.png