?
This commit is contained in:
@@ -683,7 +683,7 @@ int64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbit
|
|||||||
entropyval = 0;
|
entropyval = 0;
|
||||||
int loops = 0;
|
int loops = 0;
|
||||||
if (random) {
|
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++)
|
||||||
|
|||||||
Reference in New Issue
Block a user