From 2722ac7d9f855498bc31052de6f66d14ce600c85 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 12 Sep 2017 18:57:08 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_socket.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index be04fc43b..95eda05eb 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -307,6 +307,13 @@ cJSON *electrum_submit(char *symbol,struct electrum_info *ep,cJSON **retjsonp,ch { // queue id and string and callback char stratumreq[16384]; uint32_t expiration; struct stritem *sitem; cJSON *retjson = 0; + if ( strcmp(method,"getrawmempool") == 0 ) + { + retjson = cJSON_Parse("{\"error\":\"unsupported method\"}"); + if ( retjsonp != 0 ) + *retjsonp = retjson; + return(retjson); + } if ( ep == 0 ) ep = electrum_server(symbol,0); if ( ep != 0 )