mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
refactor: add couple missing const
for CGovernanceManager
This commit is contained in:
parent
b240d08e09
commit
5031f29441
@ -202,7 +202,7 @@ void CGovernanceManager::CleanAndRemoveTriggers()
|
||||
* - Return the triggers in a list
|
||||
*/
|
||||
|
||||
std::vector<CSuperblock_sptr> CGovernanceManager::GetActiveTriggers()
|
||||
std::vector<CSuperblock_sptr> CGovernanceManager::GetActiveTriggers() const
|
||||
{
|
||||
AssertLockHeld(cs);
|
||||
std::vector<CSuperblock_sptr> vecResults;
|
||||
|
@ -347,7 +347,7 @@ public:
|
||||
* - Track governance objects which are triggers
|
||||
* - After triggers are activated and executed, they can be removed
|
||||
*/
|
||||
std::vector<std::shared_ptr<CSuperblock>> GetActiveTriggers();
|
||||
std::vector<std::shared_ptr<CSuperblock>> GetActiveTriggers() const;
|
||||
bool AddNewTrigger(uint256 nHash);
|
||||
void CleanAndRemoveTriggers();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user