Conditional activate of sapling

This commit is contained in:
jl777
2018-11-23 03:26:18 -11:00
parent 9c230bbd4c
commit d39300e3ff
2 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
#define KOMODO_MAXMEMPOOLTIME 3600 // affects consensus
#define CRYPTO777_PUBSECPSTR "020e46e79a2a8d12b9b5d12c7a91adb4e454edfae43c0a0cb805427d2ac7613fd9"
#define KOMODO_FIRSTFUNGIBLEID 100
#define KOMODO_SAPLING_ACTIVATION (1542903704+3600) //1544832000 // Dec 15th, 2018
#define KOMODO_SAPLING_ACTIVATION 1544832000 // Dec 15th, 2018
#define KOMODO_SAPLING_DEADLINE 1550188800 // Feb 15th, 2019
extern uint8_t ASSETCHAINS_TXPOW;

View File

@@ -3827,7 +3827,9 @@ int32_t komodo_activate_sapling(CBlockIndex *pindex)
}
if ( activation != 0 )
{
//komodo_setactivation(activation);
#if KOMODO_SAPLING_ACTIVATION != 1544832000
komodo_setactivation(activation);
#endif
fprintf(stderr,"%s sapling activation at %d\n",ASSETCHAINS_SYMBOL,activation);
ASSETCHAINS_SAPLING = activation;
}