CoinRoster / slotmachine

fruitgame
0 stars 0 forks source link

Admin Page - Dividend transactions table "Balance" column is incorrect #49

Closed Patrick-Bay closed 6 years ago

Patrick-Bay commented 6 years ago

Currently the value being shown here is just the base deposit amount. This should be the total investment amount plus daily gains just prior to dividend calculations (the market value at the time of the payment process).

Patrick-Bay commented 6 years ago

This appears to be a straightforward update (simply store another value than the one currently being stored), requiring changes to the rpc_payDividends function. This should take no longer than 1 hour with testing.

Patrick-Bay commented 6 years ago

This issue has been updated with the latest commit (https://github.com/CoinRoster/slotmachine/commit/325e8484e5a042b9bf1aa5652ff46d6904876733), and is available on the dev server immediately for review.