From 369b6d0b4d39e93f607981049225de75cbb8950b Mon Sep 17 00:00:00 2001
From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net>
Date: Tue, 28 Apr 2020 02:34:27 +0700
Subject: [PATCH] [*] Moved LOG_TAG from .h to .c

---
 include/dap_chain_wallet_python.h | 2 --
 src/dap_chain_wallet_python.c     | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/dap_chain_wallet_python.h b/include/dap_chain_wallet_python.h
index 52b033c9..d0b43398 100644
--- a/include/dap_chain_wallet_python.h
+++ b/include/dap_chain_wallet_python.h
@@ -14,8 +14,6 @@
 extern "C"{
 #endif
 
-#undef LOG_TAG
-#define LOG_TAG "dap_chain_wallet_python"
 
 typedef struct PyDapChainWallet{
     PyObject_HEAD
diff --git a/src/dap_chain_wallet_python.c b/src/dap_chain_wallet_python.c
index df71af90..bea9ed3e 100644
--- a/src/dap_chain_wallet_python.c
+++ b/src/dap_chain_wallet_python.c
@@ -1,4 +1,5 @@
 #include "dap_chain_wallet_python.h"
+#define LOG_TAG "dap_chain_wallet_python"
 
 int dap_chain_wallet_init_py(void){
     return dap_chain_wallet_init();
-- 
GitLab