Skip to content
Snippets Groups Projects
Commit dc9ef85c authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

Merge branch 'feature-3423' into 'master'

Feature 3423

See merge request !21
parents 3d8f93ce 4851c456
No related branches found
No related tags found
1 merge request!21Feature 3423
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "wrapping_dap_mempool.h" #include "wrapping_dap_mempool.h"
#include "wrapping_dap_http_folder.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_wallet.h"
#include "dap_chain_cs.h" #include "dap_chain_cs.h"
#include "dap_chain_cs_dag.h" #include "dap_chain_cs_dag.h"
......
...@@ -13,7 +13,7 @@ static bool s_init_http_enc = false; ...@@ -13,7 +13,7 @@ static bool s_init_http_enc = false;
static bool s_init_server_core = false; static bool s_init_server_core = false;
static bool s_init_mempool = 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_wallet = false;
static bool s_init_cs_dag = false; static bool s_init_cs_dag = false;
static bool s_init_cs_dag_poa = false; static bool s_init_cs_dag_poa = false;
...@@ -233,12 +233,13 @@ PyObject *python_cellframe_init(PyObject *self, PyObject *args){ ...@@ -233,12 +233,13 @@ PyObject *python_cellframe_init(PyObject *self, PyObject *args){
return NULL; return NULL;
} }
s_init_mempool = true; s_init_mempool = true;
/*
} else if (strcmp(c_value, "HttpClientSimple") == 0){ } else if (strcmp(c_value, "HttpClientSimple") == 0){
if (dap_http_client_simple_init() != 0){ if (dap_http_client_simple_init() != 0){
PyErr_SetString(CellFrame_error, "Failed to initialize HttpClientSimple module. "); PyErr_SetString(CellFrame_error, "Failed to initialize HttpClientSimple module. ");
return NULL; return NULL;
} }
s_init_http_client_simple = true; s_init_http_client_simple = true;*/
} else if (strcmp(c_value, "Wallet") == 0){ } else if (strcmp(c_value, "Wallet") == 0){
if (dap_chain_wallet_init() != 0){ if (dap_chain_wallet_init() != 0){
PyErr_SetString(CellFrame_error, "Failed to initialize Wallet module. "); PyErr_SetString(CellFrame_error, "Failed to initialize Wallet module. ");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment