Tweak perc calc

This commit is contained in:
jl777
2019-01-12 15:51:07 -11:00
parent cae219a0c8
commit 7949fcb648
2 changed files with 2 additions and 2 deletions

View File

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