that didnt work, try another way

This commit is contained in:
blackjok3r
2018-09-25 10:16:05 +08:00
parent 2cf2e5f83e
commit 5161c86d56
2 changed files with 7 additions and 4 deletions

View File

@@ -831,6 +831,9 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
txn_count = block.vtx.size();
for (i=0; i<txn_count; i++)
{
if ((is_STAKED(ASSETCHAINS_SYMBOL) != 0) && (STAKED_era(pindex->GetBlockTime()) != 0))
printf("ERA 0 SKIP %s\n",ASSETCHAINS_SYMBOL);
continue;
txhash = block.vtx[i].GetHash();
numvouts = block.vtx[i].vout.size();
notaryid = -1;
@@ -857,7 +860,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
numvalid = bitweight(signedmask);
if ( (((height < 90000 || (signedmask & 1) != 0) && numvalid >= KOMODO_MINRATIFY) ||
(numvalid >= KOMODO_MINRATIFY && ASSETCHAINS_SYMBOL[0] != 0) ||
numvalid > (numnotaries/5)) )
numvalid > (numnotaries/5)))
{
if ( ASSETCHAINS_SYMBOL[0] != 0)
{