diff --git a/src/governance.cpp b/src/governance.cpp index b6aeb48c2..f8f616473 100644 --- a/src/governance.cpp +++ b/src/governance.cpp @@ -819,7 +819,7 @@ bool CGovernanceObject::ProcessVote(CNode* pfrom, int nMNIndex = governance.GetMasternodeIndex(vote.GetVinMasternode()); if(nMNIndex < 0) { std::ostringstream ostr; - ostr << "CGovernanceObject::UpdateVote -- Masternode index not found\n"; + ostr << "CGovernanceObject::ProcessVote -- Masternode index not found\n"; exception = CGovernanceException(ostr.str(), GOVERNANCE_EXCEPTION_WARNING); if(mapOrphanVotes.Insert(vote.GetVinMasternode(), vote)) { if(pfrom) { @@ -841,14 +841,14 @@ bool CGovernanceObject::ProcessVote(CNode* pfrom, vote_signal_enum_t eSignal = vote.GetSignal(); if(eSignal == VOTE_SIGNAL_NONE) { std::ostringstream ostr; - ostr << "CGovernanceObject::UpdateVote -- Vote signal: none" << "\n"; + ostr << "CGovernanceObject::ProcessVote -- Vote signal: none" << "\n"; LogPrint("gobject", ostr.str().c_str()); exception = CGovernanceException(ostr.str(), GOVERNANCE_EXCEPTION_WARNING); return false; } if(eSignal > MAX_SUPPORTED_VOTE_SIGNAL) { std::ostringstream ostr; - ostr << "CGovernanceObject::UpdateVote -- Unsupported vote signal:" << CGovernanceVoting::ConvertSignalToString(vote.GetSignal()) << "\n"; + ostr << "CGovernanceObject::ProcessVote -- Unsupported vote signal:" << CGovernanceVoting::ConvertSignalToString(vote.GetSignal()) << "\n"; LogPrintf(ostr.str().c_str()); exception = CGovernanceException(ostr.str(), GOVERNANCE_EXCEPTION_PERMANENT_ERROR, 20); return false; @@ -862,7 +862,7 @@ bool CGovernanceObject::ProcessVote(CNode* pfrom, int64_t nTimeDelta = nNow - voteInstance.nTime; if(nTimeDelta < GOVERNANCE_UPDATE_MIN) { std::ostringstream ostr; - ostr << "CGovernanceObject::UpdateVote -- Masternode voting too often " + ostr << "CGovernanceObject::ProcessVote -- Masternode voting too often " << ", MN outpoint = " << vote.GetVinMasternode().prevout.ToStringShort() << ", governance object hash = " << GetHash().ToString() << ", time delta = " << nTimeDelta << "\n"; @@ -873,7 +873,7 @@ bool CGovernanceObject::ProcessVote(CNode* pfrom, // Finally check that the vote is actually valid (done last because of cost of signature verification) if(!vote.IsValid(true)) { std::ostringstream ostr; - ostr << "CGovernanceObject::UpdateVote -- Invalid vote " + ostr << "CGovernanceObject::ProcessVote -- Invalid vote " << ", MN outpoint = " << vote.GetVinMasternode().prevout.ToStringShort() << ", governance object hash = " << GetHash().ToString() << ", vote hash = " << vote.GetHash().ToString() << "\n";