Test
This commit is contained in:
@@ -405,7 +405,7 @@ void *dicefinish(void *_ptr)
|
|||||||
free(cmd);
|
free(cmd);
|
||||||
}
|
}
|
||||||
std::string entropyrawtx = DICE_ENTROPYTX;
|
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];
|
char cmdbuf[8192];
|
||||||
sprintf(cmdbuf,"./komodo-cli -ac_name=%s sendrawtransaction %s",ASSETCHAINS_SYMBOL,entropyrawtx.c_str());
|
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);
|
DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,entropytxs,false);
|
||||||
if ( entropytxs < DICE_MINUTXOS )
|
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);
|
res = DiceAddfunding(txfee,planstr,fundingtxid,COIN/100);
|
||||||
if ( res.empty() == 0 && res.size() > 64 && is_hexstr((char *)res.c_str(),0) > 64 )
|
if ( res.empty() == 0 && res.size() > 64 && is_hexstr((char *)res.c_str(),0) > 64 )
|
||||||
|
|||||||
Reference in New Issue
Block a user