docs: de-duplicate the nostr_password comment in Wallet::open

Audit cleanup — collapse the garbled double comment to one line. No code change.
This commit is contained in:
2ro
2026-06-12 23:10:44 -04:00
parent f210180de6
commit 4d5db923ea
+2 -3
View File
@@ -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.