shitty temp fix

This commit is contained in:
Evan Duffield 2014-08-06 11:51:57 -07:00
parent 46576e00ca
commit b775d5e0b2

View File

@ -7102,7 +7102,7 @@ bool CDarkSendPool::DoAutomaticDenominating(bool fDryRun)
// initial phase, find a masternode // initial phase, find a masternode
if(!sessionFoundMasternode){ if(!sessionFoundMasternode){
if(sessionTries++ < 10){ if(sessionTries++ < 10){
int i = GetMasternodeByRank(rand() % 1+(std::min(20, (int)darkSendMasterNodes.size()))); int i = GetMasternodeByRank(1); //rand() % 1+(std::min(20, (int)darkSendMasterNodes.size())));
if(i == -1) { if(i == -1) {
printf("DoAutomaticDenominating : Error finding a masternode\n"); printf("DoAutomaticDenominating : Error finding a masternode\n");
return false; return false;