From 11e854b9247119032e1a45740e712514abd5d17e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 27 Oct 2018 21:15:31 -1100 Subject: [PATCH] Handle 10 simul dice bet spammers --- src/cc/dice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 3a2d3129c..5d1620edf 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -968,7 +968,7 @@ std::string DiceBet(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t bet int32_t entropytxs; if ( (funding= DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,entropytxs)) >= 2*bet*odds+txfee && entropyval != 0 ) { - if ( entropytxs < 2 ) { + if ( entropytxs < 10 ) { error = "Your dealer is broke, find a new casino."; return(""); }