fix a bug in #920

This commit is contained in:
UdjinM6 2016-07-30 14:18:46 +03:00
parent 66fb11c964
commit e7a26707a0

View File

@ -371,7 +371,7 @@ CMasternode *CMasternodeMan::FindRandomNotInVec(std::vector<CTxIn> &vecToExclude
} }
if(fExclude) continue; if(fExclude) continue;
// found the one not in vecToExclude // found the one not in vecToExclude
return &mn; return Find(mn.vin);
} }
return NULL; return NULL;