Fix errors in DBG when compile with ENABLE_DASH_DEBUG defined. (#1111)
This commit is contained in:
parent
03e4fd7539
commit
fb3b2f1853
@ -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());
|
||||||
}
|
}
|
||||||
|
@ -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; );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user