diff --git a/src/governance/object.cpp b/src/governance/object.cpp index 9f66f39f7a48..ebcf6c17c3a1 100644 --- a/src/governance/object.cpp +++ b/src/governance/object.cpp @@ -408,7 +408,7 @@ bool CGovernanceObject::ProcessVote(CMasternodeMetaMan& mn_metaman, bool fRateCh if (eSignal < VOTE_SIGNAL_NONE || eSignal >= VOTE_SIGNAL_UNKNOWN) { std::string msg{strprintf("CGovernanceObject::%s -- Unsupported vote signal: %s", __func__, CGovernanceVoting::ConvertSignalToString(vote.GetSignal()))}; - LogPrintf("%s\n", msg); + LogPrint(BCLog::GOBJECT, "%s\n", msg); exception = CGovernanceException(msg, GOVERNANCE_EXCEPTION_PERMANENT_ERROR, 20); return false; } @@ -459,7 +459,7 @@ bool CGovernanceObject::ProcessVote(CMasternodeMetaMan& mn_metaman, bool fRateCh std::string msg{strprintf("CGovernanceObject::%s -- Invalid vote, MN outpoint = %s, governance object hash = %s, " "vote hash = %s", __func__, vote.GetMasternodeOutpoint().ToStringShort(), GetHash().ToString(), vote.GetHash().ToString())}; - LogPrintf("%s\n", msg); + LogPrint(BCLog::GOBJECT, "%s\n", msg); exception = CGovernanceException(msg, GOVERNANCE_EXCEPTION_PERMANENT_ERROR, 20); return false; } diff --git a/src/governance/vote.cpp b/src/governance/vote.cpp index afef2543fbae..0bd2eb610349 100644 --- a/src/governance/vote.cpp +++ b/src/governance/vote.cpp @@ -201,7 +201,7 @@ bool CGovernanceVote::CheckSignature(const CBLSPublicKey& pubKey) const sig.SetBytes(vchSig, false); const bool valid{sig.VerifyInsecure(pubKey, sigHash, false)}; if (!valid) { - LogPrintf("CGovernanceVote::CheckSignature -- VerifyInsecure() failed\n"); + LogPrint(BCLog::GOBJECT, "CGovernanceVote::CheckSignature -- VerifyInsecure() failed\n"); } m_sig_memo.Store(fingerprint, valid);