put new fortunastakes to last rank until we receive their active message
@@ -569,7 +569,7 @@ bool GetFortunastakeRanks(CBlockIndex* pindex)
BOOST_FOREACH(CFortunaStake& mn, vecFortunastakeScoresList)
{
i++;
- if (mn.nTimeRegistered > pindex->GetBlockTime()) {
+ if (mn.nTimeRegistered > pindex->GetBlockTime() || mn.active == 0) {
vecFortunastakeScores.push_back(vecFortunastakeScores[i]);
vecFortunastakeScores.erase(vecFortunastakeScores.begin() + i);
}
