diff --git a/src/wallet/wallet.rs b/src/wallet/wallet.rs index 67ff405f..7b24d237 100644 --- a/src/wallet/wallet.rs +++ b/src/wallet/wallet.rs @@ -333,9 +333,8 @@ impl Wallet { if self.is_open() { return Err(Error::GenericError("Already opened".to_string())); } - // Keep the password for nostr identity setup after opening. - // Keep a zeroized copy of the password for nostr identity setup; the - // original is moved into open_wallet below. + // Keep a copy of the password for nostr identity setup below; the + // original is moved into open_wallet. let nostr_password = password.clone(); // Create new wallet instance if sync thread was stopped or instance was not created.