diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 1f31ff652..81d9231a1 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -681,8 +681,10 @@ int64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbit GetCCaddress(cp,coinaddr,dicepk); SetCCunspents(unspentOutputs,coinaddr); entropyval = 0; + int loops = 0; for (std::vector >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++) { + loops++; if (random) { if ( (rand() % 100) < 90 ) continue; @@ -731,6 +733,7 @@ int64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbit entropytxid = txid; entropyval = tx.vout[0].nValue; first = 1; + fprintf(stderr, "chosen entropy on loop: %d\n",loops); } else {