nCount >= nTenthNetwork should be nCountTenth

This commit is contained in:
Evan Duffield 2015-08-20 08:50:29 -07:00
parent d3f3e70817
commit c6cb896cc4

View File

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