diff --git a/src/governance-classes.cpp b/src/governance-classes.cpp index 28c46d3bdd..4956874bee 100644 --- a/src/governance-classes.cpp +++ b/src/governance-classes.cpp @@ -218,18 +218,6 @@ std::vector CGovernanceTriggerManager::GetActiveTriggers() DBG( cout << "GetActiveTriggers: vecResults.size() = " << vecResults.size() << endl; ); return vecResults; -} - -/** -* Is Valid Superblock Height -* -* - See if this block can be a superblock -*/ - -bool CSuperblockManager::IsValidSuperblockHeight(int nBlockHeight) -{ - // SUPERBLOCKS CAN HAPPEN ONCE PER DAY - return nBlockHeight % Params().GetConsensus().nSuperblockCycle; } /** diff --git a/src/governance-classes.h b/src/governance-classes.h index 31d02c74d7..93d6914d11 100644 --- a/src/governance-classes.h +++ b/src/governance-classes.h @@ -98,7 +98,17 @@ public: return true; } - static bool IsValidSuperblockHeight(int nBlockHeight); + /** + * Is Valid Superblock Height + * + * - See if this block can be a superblock + */ + static bool IsValidSuperblockHeight(int nBlockHeight) + { + // SUPERBLOCKS CAN HAPPEN ONCE PER DAY + return nBlockHeight % Params().GetConsensus().nSuperblockCycle; + } + static bool IsSuperblockTriggered(int nBlockHeight); static void CreateSuperblock(CMutableTransaction& txNew, CAmount nFees, int nBlockHeight);