From e930c6555da3faff3e0e53244b29e492344c7544 Mon Sep 17 00:00:00 2001 From: Doug Anderson444 Date: Sat, 2 Mar 2024 08:13:13 -0400 Subject: [PATCH] rm trailing whitespace --- crates/seed-keeper-wallet/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/seed-keeper-wallet/src/lib.rs b/crates/seed-keeper-wallet/src/lib.rs index bac2b0b..d1dd78b 100644 --- a/crates/seed-keeper-wallet/src/lib.rs +++ b/crates/seed-keeper-wallet/src/lib.rs @@ -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 {