mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-13 10:18:54 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user