From 4851c456c6f4b2727c880f1bb1b1f5b2c2aed1b9 Mon Sep 17 00:00:00 2001
From: "alexander.lysikov" <alexander.lysikov@demlabs.net>
Date: Mon, 13 Apr 2020 12:00:05 +0000
Subject: [PATCH] Feature 3423

---
 include/python-cellframe.h | 2 +-
 src/python-cellframe.c     | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/python-cellframe.h b/include/python-cellframe.h
index f7ce9c49..c178d1f5 100644
--- a/include/python-cellframe.h
+++ b/include/python-cellframe.h
@@ -34,7 +34,7 @@
 #include "wrapping_dap_mempool.h"
 #include "wrapping_dap_http_folder.h"
 
-#include "dap_http_client_simple.h"
+//#include "dap_http_client_simple.h"
 #include "dap_chain_wallet.h"
 #include "dap_chain_cs.h"
 #include "dap_chain_cs_dag.h"
diff --git a/src/python-cellframe.c b/src/python-cellframe.c
index e2f1a4f9..9fbff2c3 100644
--- a/src/python-cellframe.c
+++ b/src/python-cellframe.c
@@ -13,7 +13,7 @@ static bool s_init_http_enc = false;
 static bool s_init_server_core = false;
 static bool s_init_mempool = false;
 
-static bool s_init_http_client_simple = false;
+//static bool s_init_http_client_simple = false;
 static bool s_init_wallet = false;
 static bool s_init_cs_dag = false;
 static bool s_init_cs_dag_poa = false;
@@ -233,12 +233,13 @@ PyObject *python_cellframe_init(PyObject *self, PyObject *args){
                 return NULL;
             }
             s_init_mempool = true;
+        /*
         } else if (strcmp(c_value, "HttpClientSimple") == 0){
             if (dap_http_client_simple_init() != 0){
                 PyErr_SetString(CellFrame_error, "Failed to initialize HttpClientSimple module. ");
                 return NULL;
             }
-            s_init_http_client_simple = true;
+            s_init_http_client_simple = true;*/
         } else if (strcmp(c_value, "Wallet") == 0){
             if (dap_chain_wallet_init() != 0){
                 PyErr_SetString(CellFrame_error, "Failed to initialize Wallet module. ");
-- 
GitLab