diff --git a/src/komodo_defs.h b/src/komodo_defs.h index 169407cfe..fec12c377 100644 --- a/src/komodo_defs.h +++ b/src/komodo_defs.h @@ -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; diff --git a/src/main.cpp b/src/main.cpp index 8cf637d52..b29803d52 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; }