This commit is contained in:
blackjok3r
2018-10-28 13:32:19 +08:00
parent b30cf0e25e
commit 5c9845bb0f
2 changed files with 2 additions and 2 deletions

View File

@@ -6152,7 +6152,7 @@ UniValue dicebet(const UniValue& params, bool fHelp)
return(result);
}
if (amount > 0 && odds > 0) {
hex = DiceBet(0,name,fundingtxid,amount,odds);
hex = DiceBet(0,name,fundingtxid,amount,odds,error);
if ( hex.size() > 0 )
{
result.push_back(Pair("result", "success"));