This commit is contained in:
blackjok3r
2018-10-29 12:19:10 +08:00
parent f72bf9aaf0
commit e4737a39b3

View File

@@ -974,9 +974,9 @@ std::string DiceBet(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t bet
}
int32_t entropytxs=0,emptyvar=0;
funding = DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,entropytxs,false);
printf("first entropy val found: %ld\n",entropyval,);
printf("first entropy val found: %ld\n",entropyval);
DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,emptyvar,true);
printf("second entropy val found: %ld\n",entropyval,);
printf("second entropy val found: %ld\n",entropyval);
if ( ( funding >= 2*bet*odds+txfee && entropyval != 0 ) )
{
if ( entropytxs < 100 ) {