diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 580a050c3..9e911d210 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -373,6 +373,8 @@ static const CRPCCommand vRPCCommands[] = { "dice", "dicefund", &dicefund, true }, { "dice", "diceaddfunds", &diceaddfunds, true }, { "dice", "dicebet", &dicebet, true }, + { "dice", "dicewinner", &dicewinner, true }, + { "dice", "diceloser", &diceloser, true }, { "dice", "diceaddress", &diceaddress, true }, /* tokens */ diff --git a/src/rpcserver.h b/src/rpcserver.h index 4da7c73c0..4423df345 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -239,6 +239,8 @@ extern UniValue dicelist(const UniValue& params, bool fHelp); extern UniValue diceinfo(const UniValue& params, bool fHelp); extern UniValue diceaddfunds(const UniValue& params, bool fHelp); extern UniValue dicebet(const UniValue& params, bool fHelp); +extern UniValue dicewinner(const UniValue& params, bool fHelp); +extern UniValue diceloser(const UniValue& params, bool fHelp); extern UniValue lottoaddress(const UniValue& params, bool fHelp); extern UniValue ponziaddress(const UniValue& params, bool fHelp); extern UniValue auctionaddress(const UniValue& params, bool fHelp);