mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 21:42:47 +01:00
shitty temp fix
This commit is contained in:
parent
46576e00ca
commit
b775d5e0b2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user