diff --git a/libethereum/DatabasePaths.cpp b/libethereum/DatabasePaths.cpp index 63d868af553..0f7c2944fab 100644 --- a/libethereum/DatabasePaths.cpp +++ b/libethereum/DatabasePaths.cpp @@ -26,11 +26,6 @@ DatabasePaths::DatabasePaths(fs::path const& _rootPath, h256 const& _genesisHash m_extrasMinorVersionPath = m_extrasPath / fs::path("minor"); } -bool DatabasePaths::pathsSet() const noexcept -{ - return !m_rootPath.empty(); -} - fs::path const& DatabasePaths::rootPath() const noexcept { return m_rootPath; diff --git a/libethereum/DatabasePaths.h b/libethereum/DatabasePaths.h index 280be931464..cbd35d5f1c3 100644 --- a/libethereum/DatabasePaths.h +++ b/libethereum/DatabasePaths.h @@ -15,7 +15,6 @@ class DatabasePaths { public: DatabasePaths(boost::filesystem::path const& _rootPath, h256 const& _genesisHash) noexcept; - bool pathsSet() const noexcept; boost::filesystem::path const& rootPath() const noexcept; boost::filesystem::path const& chainPath() const noexcept; boost::filesystem::path const& blocksPath() const noexcept;