CoinRoster / slotmachine

fruitgame
0 stars 0 forks source link

Confirm / fix investment balances on Stats page #34

Closed Patrick-Bay closed 6 years ago

Patrick-Bay commented 6 years ago

Investigate the buildStatsTables function in stats.js to confirm where table values are coming from and how they are calculated. Start with in-game balances to ensure that they are a full sum of available balances (which should match those accounts on the Admin page).

This should be followed by an investigation of the rpc_getInvestmentStats function in the investment plugin in order to ensure that all available balances are being correctly summed and returned as expected.

The database may need to be reset to ensure that we are tracking all information locally.

Patrick-Bay commented 6 years ago

I believe that we tested this for correctness during our previous meeting and after checking again it does appear that in-game balances are being correctly summed.

I'll need an additional hour to go through the investment plugin to ensure the same is being done or, if not, to work out an additional plan to update.