Skip to content

Commit

Permalink
fix(merge): remove duplicated db_root function (#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamardy authored Sep 25, 2024
1 parent ab23c11 commit 8e19bbd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mm2src/mm2_core/src/mm_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ impl MmCtx {
/// Returns the path to the MM databases root.
#[cfg(not(target_arch = "wasm32"))]
pub fn db_root(&self) -> PathBuf { path_to_db_root(self.conf["dbdir"].as_str()) }

#[cfg(not(target_arch = "wasm32"))]
pub fn db_root(&self) -> PathBuf { path_to_db_root(self.conf["dbdir"].as_str()) }

#[cfg(not(target_arch = "wasm32"))]
pub fn wallet_file_path(&self, wallet_name: &str) -> PathBuf {
self.db_root().join(wallet_name.to_string() + ".dat")
Expand Down

0 comments on commit 8e19bbd

Please sign in to comment.