Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/governance/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/governance/vote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading