try
This commit is contained in:
@@ -682,10 +682,8 @@ int64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbit
|
|||||||
SetCCunspents(unspentOutputs,coinaddr);
|
SetCCunspents(unspentOutputs,coinaddr);
|
||||||
entropyval = 0;
|
entropyval = 0;
|
||||||
int loops = 0;
|
int loops = 0;
|
||||||
if (random) {
|
int startfrom = rand()%((unspentOutputs.size()%2)-1 + 1) + 1;
|
||||||
int startfrom = rand()%((unspentOutputs.size()%2)-1 + 1) + 1;
|
fprintf(stderr, "start from loop: %d\n",startfrom);
|
||||||
fprintf(stderr, "start from loop: %d\n",startfrom);
|
|
||||||
}
|
|
||||||
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
|
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
|
||||||
{
|
{
|
||||||
loops++;
|
loops++;
|
||||||
|
|||||||
Reference in New Issue
Block a user