This commit is contained in:
jl777
2019-01-12 16:00:11 -11:00
parent a35e6aaad0
commit ab06776542

View File

@@ -319,9 +319,7 @@ UniValue MarmaraPoolPayout(uint64_t txfee,int32_t firstheight,double perc,char *
} }
if ( errorstr == 0 && shares > SMALLVAL ) if ( errorstr == 0 && shares > SMALLVAL )
{ {
//shares += shares * perc; shares += shares * perc;
shares /= (1. - perc);
if ( (total= AddMarmaraCoinbases(cp,mtx,firstheight,poolpk,60)) > 0 ) if ( (total= AddMarmaraCoinbases(cp,mtx,firstheight,poolpk,60)) > 0 )
{ {
for (i=0; i<n; i++) for (i=0; i<n; i++)