Skip to content

Commit

Permalink
Fix error message for failing remove wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
fmhoeger committed Jan 18, 2024
1 parent d01c1d5 commit 20d6787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ async fn delete(
Err(e) => return Err(e),
}
},
None => return Err(anyhow!("Removal of wallet '{}' failed.", descriptor_name)),
None => return Err(anyhow!("Can't find wallet '{}'.", descriptor_name)),
};
fs::remove_file(db_file_path.clone())?;
log::debug!("Deleted smaug db file at {}", db_file_path);
Expand Down

0 comments on commit 20d6787

Please sign in to comment.