This commit is contained in:
blackjok3r
2018-12-05 23:32:49 +08:00
parent 5fa97bf208
commit d5e2a1f96b

View File

@@ -1127,7 +1127,7 @@ uint64_t komodo_commission(const CBlock *pblock,int32_t height)
commission = ((nSubsidy * ASSETCHAINS_COMMISSION) / COIN);
if ( ASSETCHAINS_FOUNDERS_PERIOD != 0 )
{
if ( pblock->GetHeight() % ASSETCHAINS_FOUNDERS_PERIOD == 0 )
if ( height % ASSETCHAINS_FOUNDERS_PERIOD == 0 )
commission = commission * ASSETCHAINS_FOUNDERS_PERIOD;
else
commission = 0;