Skip to content

Commit

Permalink
lint src
Browse files Browse the repository at this point in the history
  • Loading branch information
carneiro-cw committed Dec 20, 2024
1 parent 2b658ff commit 99c3f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eth/rpc/rpc_http_middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub enum Authentication {
impl Authentication {
pub fn auth_admin(&self) -> Result<(), StratusError> {
if matches!(self, Authentication::Admin) {
return Ok(())
return Ok(());
}
Err(StratusError::InvalidPassword)
}
Expand Down

0 comments on commit 99c3f03

Please sign in to comment.