diff --git a/include/python-cellframe.h b/include/python-cellframe.h index f7ce9c49c6cda0fd1af728011166adeef92a13cc..c178d1f587882ab6bf4414acbe8263aa179bad62 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 e2f1a4f9a0fd16f99e08358ca8bd83bdbcb48ee0..9fbff2c37e3ac7bab96326dd5edde513539c509c 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. ");