fix?
This commit is contained in:
@@ -971,7 +971,7 @@ std::string DiceBet(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t bet
|
|||||||
int32_t entropytxs;
|
int32_t entropytxs;
|
||||||
if ( (funding= DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,entropytxs)) >= 2*bet*odds+txfee && entropyval != 0 )
|
if ( (funding= DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,entropytxs)) >= 2*bet*odds+txfee && entropyval != 0 )
|
||||||
{
|
{
|
||||||
if ( entropytxs < 10 ) {
|
if ( entropytxs < 2 ) {
|
||||||
CCerror = "Your dealer is broke, find a new casino.";
|
CCerror = "Your dealer is broke, find a new casino.";
|
||||||
fprintf(stderr,"%s\n", CCerror.c_str() );
|
fprintf(stderr,"%s\n", CCerror.c_str() );
|
||||||
return("");
|
return("");
|
||||||
|
|||||||
Reference in New Issue
Block a user