Skip to content

Commit

Permalink
rm trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Mar 2, 2024
1 parent fe08d59 commit e930c65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/seed-keeper-wallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ impl ConfigGuest for Component {
// before setting the config, decrypt the encrypted seed to ensure it is valid
// if it is not, return an error
let key = derive(config.password.clone(), config.username.clone())?;
let decrypted = decrypt(key, encrypted).map_err(|e|
// add message about the username and password being wrong for this key
let decrypted = decrypt(key, encrypted).map_err(|e|
format!("Set config failed. Are the username and password correct for this encrypted seed? {}",
e.to_string()))?;
if decrypted.len() != 32 {
Expand Down

0 comments on commit e930c65

Please sign in to comment.