From feabdacc8223b32394ba3101b1e38ebeb427a69e Mon Sep 17 00:00:00 2001
From: "alexey.stratulat" <alexey.stratulat@demlabs.net>
Date: Wed, 6 Nov 2019 23:01:09 +0700
Subject: [PATCH] [*] Fix.

---
 CMakeLists.txt                          | 3 ++-
 include/libdap_chain_atom_iter_python.h | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa64f94d..36989b16 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,7 @@ add_subdirectory(libdap-chain-wallet)
 add_subdirectory(libdap-chain-net-srv)
 add_subdirectory(libdap-server-http-db-auth)
 add_subdirectory(libdap-chain-gdb)
+add_subdirectory(libdap-crypto-python)
 
 file(GLOB CHAIN_PYTHON_SRCS src/*.c)
 file(GLOB CHAIN_PYTHON_HEADERS include/*.h)
@@ -69,7 +70,7 @@ target_link_libraries(${PROJECT_NAME})
 #)
 
 
-target_link_libraries(${PROJECT_NAME} dap_core dap_crypto dap_chain dap_chain_crypto dap_server_core dap_chain_net)
+target_link_libraries(${PROJECT_NAME} dap_core dap_crypto dap_chain dap_chain_crypto dap_server_core dap_chain_net dap_crypto_python_module)
 #target_link_libraries(${PROJECT_NAME} dap_core dap_crypto dap_chain dap_chain_global_db dap_chain_crypto dap_chain_mempool
 #                         
 #                     ) #dap_chain_crypto dap_chain_mempool dap_chain_global_db )
diff --git a/include/libdap_chain_atom_iter_python.h b/include/libdap_chain_atom_iter_python.h
index 61d0b22a..8d5a29f9 100644
--- a/include/libdap_chain_atom_iter_python.h
+++ b/include/libdap_chain_atom_iter_python.h
@@ -16,7 +16,7 @@ static PyMethodDef DapChainAtomIterMethods[] = {
 
 static PyTypeObject dapChainAtomPtr_dapChainAtomPtrType = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "CellFrame.ChainAtomIterObject",     /* tp_name */
+    "CellFrame.ChainAtomIter",     /* tp_name */
     sizeof(PyChainAtomIterObject),       /* tp_basicsize */
     0,                                  /* tp_itemsize */
     0,                                  /* tp_dealloc */
-- 
GitLab