From 088a91f482095e122ec7b0db8d79cf802fd0c786 Mon Sep 17 00:00:00 2001 From: jl777 <jameslee777@yahoo.com> Date: Wed, 18 Oct 2017 01:30:06 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 5 +++++ 1 file changed, 5 insertions(+) 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, <args>)\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 )