From dbad241c598ca89f3b493832d9c6d87e3646b826 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 16 Sep 2017 13:53:11 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 1f907a3b7..f3155e3f9 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -348,7 +348,11 @@ dividends(coin, height, )\n\ else if ( strcmp(method,"getcoins") == 0 ) return(jprint(LP_coinsjson(0),1)); else if ( strcmp(method,"numutxos") == 0 ) - return(LP_numutxos()); + { + printf("deprecated numutxos received\n"); + retstr = clonestr("{\"result\":\"couldnt add utxo\"}"); + //return(LP_numutxos()); + } else if ( strcmp(method,"postprice") == 0 ) retstr = LP_postedprice(argjson); else if ( strcmp(method,"postutxos") == 0 ) @@ -368,7 +372,11 @@ dividends(coin, height, )\n\ else if ( strcmp(method,"getpeers") == 0 ) return(LP_peers()); else if ( strcmp(method,"getutxos") == 0 ) - return(LP_utxos(1,LP_mypeer,jstr(argjson,"coin"),jint(argjson,"lastn"))); + { + printf("deprecated getutxos received\n"); + retstr = clonestr("{\"result\":\"couldnt add utxo\"}"); + //return(LP_utxos(1,LP_mypeer,jstr(argjson,"coin"),jint(argjson,"lastn"))); + } else if ( strcmp(method,"utxo") == 0 ) { printf("deprecated utxo received\n");