Total field

This commit is contained in:
jl777
2019-01-12 09:17:22 -11:00
parent fefe5dbd24
commit 028725471c

View File

@@ -364,6 +364,7 @@ UniValue MarmaraPoolPayout(uint64_t txfee,int32_t firstheight,double perc,char *
result.push_back(Pair("rawtx",rawtx));
if ( totalpayout > 0 && total > totalpayout-txfee )
{
result.push_back(Pair("total",(double)total/COIN));
result.push_back(Pair("totalpayout",(double)totalpayout/COIN));
result.push_back(Pair("totalshares",shares));
result.push_back(Pair("poolfee",(double)(total - totalpayout)/COIN));