Merge pull request #971 from letolabs/ac_private_tests
Tests for ac_private=1
This commit is contained in:
@@ -3820,6 +3820,11 @@ int32_t komodo_activate_sapling(CBlockIndex *pindex)
|
||||
height = pindex->GetHeight();
|
||||
blocktime = (uint32_t)pindex->nTime;
|
||||
fprintf(stderr,"komodo_activate_sapling.%d starting blocktime %u cmp.%d\n",height,blocktime,blocktime > KOMODO_SAPLING_ACTIVATION);
|
||||
|
||||
// avoid trying unless we have at least 30 blocks
|
||||
if (height < 30)
|
||||
return(0);
|
||||
|
||||
for (i=0; i<30; i++)
|
||||
{
|
||||
if ( (prev= pindex->pprev) == 0 )
|
||||
|
||||
Reference in New Issue
Block a user