Add to table

This commit is contained in:
jl777
2019-02-16 07:41:24 -11:00
parent 3a93aa649c
commit 0871a2be6a
2 changed files with 2 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ CClib_methods[] =
{ (char *)"rogue", (char *)"players", (char *)"<no args>", 0, 0, 'D', EVAL_ROGUE },
{ (char *)"rogue", (char *)"games", (char *)"<no args>", 0, 0, 'F', EVAL_ROGUE },
{ (char *)"rogue", (char *)"setname", (char *)"pname", 1, 1, 'N', EVAL_ROGUE },
{ (char *)"rogue", (char *)"extract", (char *)"gametxid", 1, 1, 'X', EVAL_ROGUE },
#else
{ (char *)"sudoku", (char *)"gen", (char *)"<no args>", 0, 0, 'G', EVAL_SUDOKU },
{ (char *)"sudoku", (char *)"txidinfo", (char *)"txid", 1, 1, 'T', EVAL_SUDOKU },

View File

@@ -836,6 +836,7 @@ UniValue rogue_extract(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
result.push_back(Pair("name","rogue"));
result.push_back(Pair("method","extract"));
result.push_back(Pair("myrogueaddr",myrogueaddr));
fprintf(stderr,"extract\n");
if ( (params= cclib_reparse(&n,params)) != 0 )
{
if ( n > 0 )