Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Smaug wallet db file deletion #52

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

fmhoeger
Copy link
Collaborator

@fmhoeger fmhoeger commented Jan 6, 2024

  • Replace occurences of unwrap() with match expressions

@fmhoeger fmhoeger self-assigned this Jan 6, 2024
src/main.rs Outdated
Err(e) => return Err(e),
}
},
None => "Removed wallet was None!".to_string(),
Copy link
Owner

@chrisguida chrisguida Jan 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return from function with error here instead of storing an error message into db_file_path

@fmhoeger fmhoeger force-pushed the refactor-smaug-db-file-deletion branch 2 times, most recently from 8b47f92 to d01c1d5 Compare January 16, 2024 07:26
@fmhoeger fmhoeger force-pushed the refactor-smaug-db-file-deletion branch from 1b8f587 to e463f98 Compare January 18, 2024 22:31
@chrisguida chrisguida merged commit 4e85e67 into master Jan 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants