Browse Source

fix

pull/27/head
blackjok3r 6 years ago
parent
commit
11a9543ba3
  1. 2
      src/komodo_bitcoind.h

2
src/komodo_bitcoind.h

@ -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->nHeight % ASSETCHAINS_FOUNDERS_PERIOD == 0 )
if ( pblock.GetHeight() % ASSETCHAINS_FOUNDERS_PERIOD == 0 )
commission = commission * ASSETCHAINS_FOUNDERS_PERIOD;
else
commission = 0;

Loading…
Cancel
Save