Try to set KMD Notary seasons correctly with our hardfork height

This commit is contained in:
Duke Leto
2019-12-21 00:02:16 -05:00
parent 6d843777d8
commit 4c42d5f93f
3 changed files with 8 additions and 6 deletions

View File

@@ -700,12 +700,12 @@ bool komodo_checkopret(CBlock *pblock, CScript &merkleroot)
return(merkleroot.IsOpReturn() && merkleroot == komodo_makeopret(pblock, false));
}
#define HUSH_HARDFORK1 (162000)
extern const uint32_t nHushHardforkHeight;
bool hush_hardfork_active(uint32_t time)
{
// Approximately mid-day Jan 21 EST
return ( chainActive.Height() > HUSH_HARDFORK1);
return (chainActive.Height() > nHushHardforkHeight);
}
bool MarmaraPoScheck(char *destaddr,CScript opret,CTransaction staketx);