From e3e5b81a8d12e282b4ebe66eff1e05d49a51d263 Mon Sep 17 00:00:00 2001 From: Tim Flynn Date: Tue, 29 Nov 2016 08:32:41 -0500 Subject: [PATCH] Removed CGovernanceManager::ClearSeen() (#1171) --- src/governance.cpp | 1 - src/governance.h | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/governance.cpp b/src/governance.cpp index e127f868a..511f67793 100644 --- a/src/governance.cpp +++ b/src/governance.cpp @@ -875,7 +875,6 @@ void CGovernanceManager::InitOnLoad() LOCK(cs); RebuildIndexes(); AddCachedTriggers(); - ClearSeen(); } std::string CGovernanceManager::ToString() const diff --git a/src/governance.h b/src/governance.h index e10abbfd7..c6efc1202 100644 --- a/src/governance.h +++ b/src/governance.h @@ -140,12 +140,6 @@ public: virtual ~CGovernanceManager() {} - void ClearSeen() - { - LOCK(cs); - mapSeenGovernanceObjects.clear(); - } - int CountProposalInventoryItems() { // TODO What is this for ?