From 678df53d80426c18879b8246f71e732663b9a66f Mon Sep 17 00:00:00 2001 From: Amir Date: Wed, 23 Dec 2015 17:53:29 -0600 Subject: [PATCH] Removed Calculate() class methods. Not used. Both Calculate methods are not implemented in masternode-budget.cpp and not used elsewhere in the code. --- src/masternode-budget.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/masternode-budget.h b/src/masternode-budget.h index e75d36b7440a..95c3aeed3daa 100644 --- a/src/masternode-budget.h +++ b/src/masternode-budget.h @@ -116,7 +116,6 @@ class CBudgetManager void MarkSynced(); void Sync(CNode* node, uint256 nProp, bool fPartial=false); - void Calculate(); void ProcessMessage(CNode* pfrom, std::string& strCommand, CDataStream& vRecv); void NewBlock(); CBudgetProposal *FindProposal(const std::string &strProposalName); @@ -417,7 +416,6 @@ class CBudgetProposal CBudgetProposal(const CBudgetProposal& other); CBudgetProposal(std::string strProposalNameIn, std::string strURLIn, int nBlockStartIn, int nBlockEndIn, CScript addressIn, CAmount nAmountIn, uint256 nFeeTXHashIn); - void Calculate(); bool AddOrUpdateVote(CBudgetVote& vote, std::string& strError); bool HasMinimumRequiredSupport(); std::pair GetVotes();