Fix notary code

This commit is contained in:
Duke
2023-11-23 19:18:21 -05:00
parent 6db872acd0
commit 51c5d03215
3 changed files with 413 additions and 11 deletions

View File

@@ -62,9 +62,6 @@ const char *Notaries_genesis[][2] =
int32_t gethushseason(int32_t height)
{
return 1; // it is always season 1 for now
bool istush = strncmp(SMART_CHAIN_SYMBOL, "TUSH",4) == 0 ? true : false;
if ( istush ) {
// TUSH is always Season 7 DPoW notaries from genblock
@@ -90,8 +87,6 @@ int32_t gethushseason(int32_t height)
int32_t getacseason(uint32_t timestamp)
{
return 1; // it is always season 1 for now
if ( timestamp <= HUSH_SEASON_TIMESTAMPS[0] )
return(1);
for (int32_t i = 1; i < NUM_HUSH_SEASONS; i++)