From 4d5db923ea5662b7cb0aad6f984ae0cabc6026ec Mon Sep 17 00:00:00 2001 From: 2ro <17595647+2ro@users.noreply.github.com> Date: Fri, 12 Jun 2026 23:10:44 -0400 Subject: [PATCH] docs: de-duplicate the nostr_password comment in Wallet::open MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Audit cleanup — collapse the garbled double comment to one line. No code change. --- src/wallet/wallet.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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.