Skip to content

Commit e7d35e6

Browse files
committed
refactor: drop CDeterministicMNListPtr
1 parent 1010fea commit e7d35e6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/governance/governance.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class CFlatDB;
2424
class CInv;
2525
class PeerManager;
2626

27+
class CDeterministicMNList;
2728
class CDeterministicMNManager;
2829
class CGovernanceManager;
2930
class CGovernanceObject;
@@ -36,9 +37,6 @@ class CSporkManager;
3637
static constexpr int RATE_BUFFER_SIZE = 5;
3738
static constexpr bool DEFAULT_GOVERNANCE_ENABLE{true};
3839

39-
class CDeterministicMNList;
40-
using CDeterministicMNListPtr = std::shared_ptr<CDeterministicMNList>;
41-
4240
class CRateCheckBuffer
4341
{
4442
private:
@@ -177,7 +175,7 @@ class GovernanceStore
177175
vote_cmm_t cmmapOrphanVotes;
178176
txout_m_t mapLastMasternodeObject;
179177
// used to check for changed voting keys
180-
CDeterministicMNListPtr lastMNListForVotingKeys;
178+
std::shared_ptr<CDeterministicMNList> lastMNListForVotingKeys;
181179

182180
public:
183181
GovernanceStore();

0 commit comments

Comments
 (0)