fix splling

This commit is contained in:
blackjok3r
2018-12-05 23:26:31 +08:00
parent d29eed22d5
commit d7a2e9ff2c

View File

@@ -1124,13 +1124,13 @@ uint64_t komodo_commission(const CBlock *pblock,int32_t height)
{ {
nSubsidy = GetBlockSubsidy(height,Params().GetConsensus()); nSubsidy = GetBlockSubsidy(height,Params().GetConsensus());
//fprintf(stderr,"ht.%d nSubsidy %.8f prod %llu\n",height,(double)nSubsidy/COIN,(long long)(nSubsidy * ASSETCHAINS_COMMISSION)); //fprintf(stderr,"ht.%d nSubsidy %.8f prod %llu\n",height,(double)nSubsidy/COIN,(long long)(nSubsidy * ASSETCHAINS_COMMISSION));
comission = ((nSubsidy * ASSETCHAINS_COMMISSION) / COIN) commission = ((nSubsidy * ASSETCHAINS_COMMISSION) / COIN)
if ( ASSETCHAINS_FOUNDERS_PERIOD != 0 ) if ( ASSETCHAINS_FOUNDERS_PERIOD != 0 )
{ {
if ( pblock->nHeight % ASSETCHAINS_FOUNDERS_PERIOD == 0 ) if ( pblock->nHeight % ASSETCHAINS_FOUNDERS_PERIOD == 0 )
comission = comission * ASSETCHAINS_FOUNDERS_PERIOD; commission = commission * ASSETCHAINS_FOUNDERS_PERIOD;
else else
comission = 0; commission = 0;
} }
} }
else else