nCount >= nTenthNetwork should be nCountTenth

This commit is contained in:
Evan Duffield 2015-08-20 08:50:29 -07:00
parent 6b31970f13
commit c64f76001b

View File

@ -471,7 +471,7 @@ CMasternode* CMasternodeMan::GetNextMasternodeInQueueForPayment(int nBlockHeight
pBestMasternode = pmn;
}
nCountTenth++;
if(nCount >= nTenthNetwork) break;
if(nCountTenth >= nTenthNetwork) break;
}
return pBestMasternode;
}