This commit is contained in:
jl777
2018-11-30 22:37:48 -11:00
parent db83c122c7
commit 46a6e1db66
2 changed files with 12 additions and 10 deletions

View File

@@ -1664,7 +1664,9 @@ void *dealer0_loop(void *_arg)
DicePlanFunds(entropyval,entropytxid,refsbits,cp,dicepk,dealer0_fundingtxid,entropytxs,false);
if ( entropytxs < DICE_MINUTXOS )
{
n = sqrt(DICE_MINUTXOS - entropytxs) + 10;
n = sqrt(DICE_MINUTXOS - entropytxs);
if ( n > 10 )
n = 10;
for (i=0; i<DICE_MINUTXOS - entropytxs && i<n; i++)
{
res = DiceAddfunding(txfee,planstr,dealer0_fundingtxid,1000*COIN);///100);