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