Skip to content

Commit

Permalink
fix: size DB wrong custom path Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrix126 committed Nov 18, 2024
1 parent 7e30e89 commit 0bf41fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ impl PrivNodeApi {
{
if let Ok(metadata) = std::fs::metadata(if !state.path_db.is_empty() {
let mut path_db = state.path_db.clone();
path_db.push_str("lmdb/data/mdb");
path_db.push_str("lmdb/data.mdb");
path_db
} else {
r#"C:\ProgramData\bitmonero\lmdb\data.mdb"#.to_string()
Expand Down

0 comments on commit 0bf41fd

Please sign in to comment.