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

fix(base-node): allow unused_mut for not(feature = "libtor") #4425

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Aug 9, 2022

Description

Allows unused_mut for config variable if not(all(unix, feature = "libtor"))

Motivation and Context

mut is only required for all(unix, feature = "libtor")

How Has This Been Tested?

No clippy errors with/without libtor feature

@hansieodendaal
Copy link
Contributor

Do we need the same pattern for the validator node in fn main_inner() main.rs:107 ?

@sdbondi
Copy link
Member Author

sdbondi commented Aug 10, 2022

@hansieodendaal no config is not used mutably in the vn main

@sdbondi sdbondi changed the title fix(clippy): allow unused_mut for not(feature = "libtor") fix(base-node): allow unused_mut for not(feature = "libtor") Aug 10, 2022
@stringhandler stringhandler merged commit 36ed59a into tari-project:development Aug 10, 2022
@sdbondi sdbondi deleted the console-wallet-minor-clippy-correction branch August 10, 2022 10:45
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.

None yet

3 participants