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

test(wallet): ensure unlock wallet does not accidentally break #2284

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

tmpolaczyk
Copy link
Contributor

Related to #2282, does not fix the bug but it ensures we don't accidentally break that again

@@ -13,6 +13,30 @@ impl HashMapDb {
pub fn new(rc: Rc<RefCell<HashMap<Bytes, Bytes>>>) -> Self {
Self { rc }
}

#[allow(dead_code)]
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to specify this flag to the linter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because this function is not used anywhere, and I don't want to remove it because it feels weird to have an import but no export.

@tmpolaczyk tmpolaczyk merged commit a39ea7c into witnet:master Oct 26, 2022
@tmpolaczyk tmpolaczyk deleted the test-wallet-unlock-db branch November 10, 2022 15:56
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.

3 participants