mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix a bug in #920
This commit is contained in:
parent
66fb11c964
commit
e7a26707a0
@ -371,7 +371,7 @@ CMasternode *CMasternodeMan::FindRandomNotInVec(std::vector<CTxIn> &vecToExclude
|
||||
}
|
||||
if(fExclude) continue;
|
||||
// found the one not in vecToExclude
|
||||
return &mn;
|
||||
return Find(mn.vin);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user