Apply percentage

This commit is contained in:
jl777
2018-11-10 07:34:43 -11:00
parent e219dc75df
commit 0424f2f3d1

View File

@@ -1112,7 +1112,7 @@ uint64_t komodo_commission(const CBlock *pblock,int32_t height)
txn_count = pblock->vtx.size(); txn_count = pblock->vtx.size();
if ( ASSETCHAINS_FOUNDERS != 0 ) if ( ASSETCHAINS_FOUNDERS != 0 )
{ {
return(GetBlockSubsidy(height,Params().GetConsensus())); return((GetBlockSubsidy(height,Params().GetConsensus()) * ASSETCHAINS_COMMISSION) / COIN);
n = pblock->vtx[0].vout.size(); n = pblock->vtx[0].vout.size();
for (j=0; j<n; j++) for (j=0; j<n; j++)
if ( j != 1 ) if ( j != 1 )