mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Two trivial fixes for logs (#3195)
* Unify zmq publish notifier logs * Add missing line break
This commit is contained in:
parent
d5cc88f00a
commit
f8296364aa
@ -103,7 +103,7 @@ void CActiveMasternodeManager::Init()
|
||||
if (activeMasternodeInfo.service != dmn->pdmnState->addr) {
|
||||
state = MASTERNODE_ERROR;
|
||||
strError = "Local address does not match the address from ProTx";
|
||||
LogPrintf("CActiveMasternodeManager::Init -- ERROR: %s", strError);
|
||||
LogPrintf("CActiveMasternodeManager::Init -- ERROR: %s\n", strError);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -326,7 +326,7 @@ bool CZMQPublishRawTransactionLockSigNotifier::NotifyTransactionLock(const CTran
|
||||
bool CZMQPublishRawGovernanceVoteNotifier::NotifyGovernanceVote(const CGovernanceVote &vote)
|
||||
{
|
||||
uint256 nHash = vote.GetHash();
|
||||
LogPrint(BCLog::ZMQ, "gobject: Publish rawgovernanceobject: hash = %s, vote = %d\n", nHash.ToString(), vote.ToString());
|
||||
LogPrint(BCLog::ZMQ, "zmq: Publish rawgovernanceobject: hash = %s, vote = %d\n", nHash.ToString(), vote.ToString());
|
||||
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
|
||||
ss << vote;
|
||||
return SendMessage(MSG_RAWGVOTE, &(*ss.begin()), ss.size());
|
||||
@ -335,7 +335,7 @@ bool CZMQPublishRawGovernanceVoteNotifier::NotifyGovernanceVote(const CGovernanc
|
||||
bool CZMQPublishRawGovernanceObjectNotifier::NotifyGovernanceObject(const CGovernanceObject &govobj)
|
||||
{
|
||||
uint256 nHash = govobj.GetHash();
|
||||
LogPrint(BCLog::ZMQ, "gobject: Publish rawgovernanceobject: hash = %s, type = %d\n", nHash.ToString(), govobj.GetObjectType());
|
||||
LogPrint(BCLog::ZMQ, "zmq: Publish rawgovernanceobject: hash = %s, type = %d\n", nHash.ToString(), govobj.GetObjectType());
|
||||
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
|
||||
ss << govobj;
|
||||
return SendMessage(MSG_RAWGOBJ, &(*ss.begin()), ss.size());
|
||||
|
Loading…
Reference in New Issue
Block a user