Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Aug 23, 2024
1 parent ca86e01 commit d96befb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ fn running_app_name() -> Result<String, NEARLedgerError> {
let app_name_len = data[1] as usize;
let app_name = String::from_utf8_lossy(&data[2..2 + app_name_len]).to_string();

return Ok(app_name);
Ok(app_name)
}
RETURN_CODE_UNKNOWN_ERROR => Err(NEARLedgerError::APDUExchangeError(
"The ledger most likely is locked. Please unlock ledger or reconnect it"
Expand Down

0 comments on commit d96befb

Please sign in to comment.