diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 31679e2eb..87f493035 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -159,6 +159,11 @@ dividends(coin, height, )\n\ } return(clonestr("{\"result\":\"success\"}")); } + else if ( strcmp(method,"stop") == 0 ) + { + printf("DEBUG stop\n"); + exit(0); + } else if ( strcmp(method,"getmessages") == 0 ) { if ( (retjson= LP_getmessages(jint(argjson,"firsti"),jint(argjson,"num"))) != 0 )