From bd525e0408f0488201f014b4d5ea0fdee38c9c0c Mon Sep 17 00:00:00 2001 From: Vlad Gluhovsky Date: Wed, 8 Jul 2015 13:30:42 +0200 Subject: [PATCH] removed excessive dependency --- libwhisper/CMakeLists.txt | 1 - libwhisper/WhisperDB.cpp | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libwhisper/CMakeLists.txt b/libwhisper/CMakeLists.txt index 5cf6a865f..5af43d0b2 100644 --- a/libwhisper/CMakeLists.txt +++ b/libwhisper/CMakeLists.txt @@ -21,7 +21,6 @@ file(GLOB HEADERS "*.h") add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) -target_link_libraries(${EXECUTABLE} ethereum) target_link_libraries(${EXECUTABLE} ethcore) target_link_libraries(${EXECUTABLE} devcrypto) target_link_libraries(${EXECUTABLE} devcore) diff --git a/libwhisper/WhisperDB.cpp b/libwhisper/WhisperDB.cpp index a880bc279..b8977161c 100644 --- a/libwhisper/WhisperDB.cpp +++ b/libwhisper/WhisperDB.cpp @@ -27,17 +27,16 @@ #include #include #include -#include +#include #include "WhisperDB.h" using namespace std; using namespace dev; using namespace dev::shh; -using namespace dev::eth; WhisperDB::WhisperDB() { - string path = Defaults::dbPath(); + string path = dev::getDataDir(); boost::filesystem::create_directories(path); ldb::Options op; op.create_if_missing = true;