Skip to content

Commit

Permalink
fix dev compilation problem due to merge of duplicate functions
Browse files Browse the repository at this point in the history
  • Loading branch information
shamardy committed Sep 25, 2024
1 parent ab23c11 commit 91019c3
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 91019c3

Please sign in to comment.