Added peer id to CGovernanceManager::Sync log message

This commit is contained in:
Tim Flynn 2016-11-15 08:23:49 -05:00
parent c4c4f1dad7
commit c00fdb524a

View File

@ -572,7 +572,7 @@ void CGovernanceManager::Sync(CNode* pfrom, uint256 nProp)
} }
pfrom->PushMessage(NetMsgType::SYNCSTATUSCOUNT, MASTERNODE_SYNC_GOVOBJ, nInvCount); pfrom->PushMessage(NetMsgType::SYNCSTATUSCOUNT, MASTERNODE_SYNC_GOVOBJ, nInvCount);
LogPrintf("CGovernanceManager::Sync -- sent %d items\n", nInvCount); LogPrintf("CGovernanceManager::Sync -- sent %d items, peer=%d\n", nInvCount, pfrom->id);
} }
void CGovernanceManager::SyncParentObjectByVote(CNode* pfrom, const CGovernanceVote& vote) void CGovernanceManager::SyncParentObjectByVote(CNode* pfrom, const CGovernanceVote& vote)