This commit is contained in:
jl777
2018-07-30 01:54:24 -11:00
parent 117f64ab82
commit 2c42e02c62

View File

@@ -5171,7 +5171,7 @@ UniValue dicebet(const UniValue& params, bool fHelp)
UniValue dicewinner(const UniValue& params, bool fHelp)
{
UniValue result(UniValue::VOBJ); char *name; uint256 fundingtxid; uint64_t amount; std::string hex;
UniValue result(UniValue::VOBJ); char *name; uint256 fundingtxid,bettxid; uint64_t amount; std::string hex;
if ( fHelp || params.size() != 3 )
throw runtime_error("dicewinner name fundingtxid bettxid\n");
if ( ensure_CCrequirements() < 0 )
@@ -5190,7 +5190,7 @@ UniValue dicewinner(const UniValue& params, bool fHelp)
UniValue diceloser(const UniValue& params, bool fHelp)
{
UniValue result(UniValue::VOBJ); char *name; uint256 fundingtxid; uint64_t amount; std::string hex;
UniValue result(UniValue::VOBJ); char *name; uint256 fundingtxid,bettxid; uint64_t amount; std::string hex;
if ( fHelp || params.size() != 3 )
throw runtime_error("diceloser name fundingtxid bettxid\n");
if ( ensure_CCrequirements() < 0 )