Total field
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user