This commit is contained in:
blackjok3r
2018-11-23 00:17:57 +08:00
parent e232fd0049
commit 1dfb6457a1

View File

@@ -811,7 +811,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
return; return;
} }
//fprintf(stderr,"%s connect.%d\n",ASSETCHAINS_SYMBOL,pindex->nHeight); //fprintf(stderr,"%s connect.%d\n",ASSETCHAINS_SYMBOL,pindex->nHeight);
if ( is_STAKED(ASSETCHAINS_SYMBOL) != 0 ) if ( is_STAKED(ASSETCHAINS_SYMBOL) != 0 || IS_STAKED_NOTARY > -1 )
{ {
staked_era = STAKED_era(pindex->GetBlockTime()); staked_era = STAKED_era(pindex->GetBlockTime());
if ( staked_era != lastStakedEra ) if ( staked_era != lastStakedEra )