Fix errors in DBG when compile with ENABLE_DASH_DEBUG defined. (#1111)

This commit is contained in:
TheLazieR Yip 2016-10-31 16:11:57 +07:00 committed by UdjinM6
parent 03e4fd7539
commit fb3b2f1853
2 changed files with 2 additions and 2 deletions

View File

@ -808,7 +808,7 @@ void CMasternodePayments::RequestLowDataPaymentBlocks(CNode* pnode)
// Let's see why this failed // Let's see why this failed
BOOST_FOREACH(CMasternodePayee& payee, it->second.vecPayees) { BOOST_FOREACH(CMasternodePayee& payee, it->second.vecPayees) {
CTxDestination address1; CTxDestination address1;
ExtractDestination(payee.scriptPubKey, address1); ExtractDestination(payee.GetPayee(), address1);
CBitcoinAddress address2(address1); CBitcoinAddress address2(address1);
printf("payee %s votes %d\n", address2.ToString().c_str(), payee.GetVoteCount()); printf("payee %s votes %d\n", address2.ToString().c_str(), payee.GetVoteCount());
} }

View File

@ -154,7 +154,7 @@ UniValue gobject(const UniValue& params, bool fHelp)
bool mnFound = mnodeman.Get(activeMasternode.vin, mn); bool mnFound = mnodeman.Get(activeMasternode.vin, mn);
DBG( cout << "gobject: submit activeMasternode.pubKeyMasternode = " << activeMasternode.pubKeyMasternode.GetHash().ToString() DBG( cout << "gobject: submit activeMasternode.pubKeyMasternode = " << activeMasternode.pubKeyMasternode.GetHash().ToString()
<< ", vin = " << vin.prevout.ToStringShort() << ", vin = " << activeMasternode.vin.prevout.ToStringShort()
<< ", params.size() = " << params.size() << ", params.size() = " << params.size()
<< ", mnFound = " << mnFound << endl; ); << ", mnFound = " << mnFound << endl; );