From 4d5488bbab43000ac1f2ce980421b97dbec385db Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 29 Jul 2018 05:45:12 -1100 Subject: [PATCH] Test --- src/wallet/rpcwallet.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 58a7ad138..9122cb916 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -5160,9 +5160,6 @@ UniValue dicebet(const UniValue& params, bool fHelp) fundingtxid = Parseuint256((char *)params[1].get_str().c_str()); amount = atof(params[2].get_str().c_str()) * COIN; odds = atol(params[3].get_str().c_str()); - if ( params.size() == 2 ) - odds = atof(params[1].get_str().c_str()) * COIN; - else odds = 1; hex = DiceBet(0,name,fundingtxid,amount,odds); if ( hex.size() > 0 ) {