Test
This commit is contained in:
@@ -77,6 +77,8 @@ if ( cp->evalcode == EVAL_GAMES ) \
|
|||||||
return(games_rng(txfee,cp,params)); \
|
return(games_rng(txfee,cp,params)); \
|
||||||
else if ( strcmp(method,"rngnext") == 0 ) \
|
else if ( strcmp(method,"rngnext") == 0 ) \
|
||||||
return(games_rngnext(txfee,cp,params)); \
|
return(games_rngnext(txfee,cp,params)); \
|
||||||
|
else if ( strcmp(method,"settle") == 0 ) \
|
||||||
|
return(games_settle(txfee,cp,params)); \
|
||||||
else if ( strcmp(method,"newgame") == 0 ) \
|
else if ( strcmp(method,"newgame") == 0 ) \
|
||||||
return(games_newgame(txfee,cp,params)); \
|
return(games_newgame(txfee,cp,params)); \
|
||||||
else if ( strcmp(method,"gameinfo") == 0 ) \
|
else if ( strcmp(method,"gameinfo") == 0 ) \
|
||||||
@@ -107,8 +109,6 @@ if ( cp->evalcode == EVAL_GAMES ) \
|
|||||||
return(games_fund(txfee,cp,params)); \
|
return(games_fund(txfee,cp,params)); \
|
||||||
else if ( strcmp(method,"bet") == 0 ) \
|
else if ( strcmp(method,"bet") == 0 ) \
|
||||||
return(games_bet(txfee,cp,params)); \
|
return(games_bet(txfee,cp,params)); \
|
||||||
else if ( strcmp(method,"settle") == 0 ) \
|
|
||||||
return(games_settle(txfee,cp,params)); \
|
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
result.push_back(Pair("result","error")); \
|
result.push_back(Pair("result","error")); \
|
||||||
|
|||||||
Reference in New Issue
Block a user