Zpool unconfirmed/confirmed exchange balances wrong

Issue #163 invalid
Charaf Errachidi created an issue

Hi,

I noticed that the Zpool unconfirmed cell is always empty when it should follow the values on Zpool. I attached a screenshot with the different values that should be displayed while mining:

1- Unconfirmed exchange

2- Confirmed exchange

3- Confirmed balance

4- Total (sum of the above)

For the confirmed balance, there should be a % display the same way it's done for MPH for the default zpool payout. They do 0.01 for any currency so I think it'd be good to have it by default.

Zpool_unconfirmed.png

Comments (7)

  1. James Dimitrov repo owner

    Can you message me that payout address. I can't see it well. and I'll use it to test

  2. James Dimitrov repo owner

    OK, so here is where things are different:

    I don't receive some of those fields from the API...

    {
    currency: "VTC",
    unsold: 0.000007690573182184,
    balance: 0,
    unpaid: 0.00000769,
    paid24h: 0.02747044,
    total: 0.02747813
    }
    #!json
    
  3. James Dimitrov repo owner

    OK so I double checked and the sites shows correct. "unsold" is the combination of 1 and 2 above. That's all I can get from the API.

    • Balance would map to Exchange - Confirmed
    • Unsold would map to Confirmed
    • Unpaid would map to Total
  4. Charaf Errachidi reporter

    You're right, they don't report all the values. Sorry I should have checked their API before bugging you ^^' You can close this ticket.

    PS you had the values inverted in your comment:

    • Balance would map to Confirmed
    • Unsold would map to Exchange - Confirmed
    • Unpaid would map to Total
  5. Log in to comment