This commit is contained in:
jl777
2018-11-08 09:48:21 -11:00
parent 25d9709931
commit 97a4ab754d

View File

@@ -405,7 +405,7 @@ void *dicefinish(void *_ptr)
free(cmd);
}
std::string entropyrawtx = DICE_ENTROPYTX;
if ( newblock != 0 && entropyrawtx.empty() == 0 && entropyrawtx.size() > 64 )
if ( 0 && newblock != 0 && entropyrawtx.empty() == 0 && entropyrawtx.size() > 64 )
{
char cmdbuf[8192];
sprintf(cmdbuf,"./komodo-cli -ac_name=%s sendrawtransaction %s",ASSETCHAINS_SYMBOL,entropyrawtx.c_str());
@@ -1528,7 +1528,7 @@ double DiceStatus(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettx
DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,entropytxs,false);
if ( entropytxs < DICE_MINUTXOS )
{
for (i=0; i<DICE_MINUTXOS - entropytxs && i<1; i++)
for (i=0; i<DICE_MINUTXOS - entropytxs && i<10; i++)
{
res = DiceAddfunding(txfee,planstr,fundingtxid,COIN/100);
if ( res.empty() == 0 && res.size() > 64 && is_hexstr((char *)res.c_str(),0) > 64 )