Verify that dsq.vin is actually in our masternode list (otherwise we might hit NULL and think that we use queue at the same time while we are not)
This commit is contained in:
parent
3fdb01087d
commit
43712ff4de
@ -1756,7 +1756,13 @@ bool CDarksendPool::DoAutomaticDenominating(bool fDryRun, bool ready)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pSubmittedToMasternode = mnodeman.Find(dsq.vin);
|
CMasternode* pmn = mnodeman.Find(dsq.vin);
|
||||||
|
if(pmn == NULL)
|
||||||
|
{
|
||||||
|
LogPrintf("DoAutomaticDenominating --- dsq vin %s is not in masternode list!", dsq.vin.ToString());
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
pSubmittedToMasternode = pmn;
|
||||||
vecMasternodesUsed.push_back(dsq.vin);
|
vecMasternodesUsed.push_back(dsq.vin);
|
||||||
sessionDenom = dsq.nDenom;
|
sessionDenom = dsq.nDenom;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user