From d4cc662fc46d843bd9c43b6584e6ba75cc134140 Mon Sep 17 00:00:00 2001 From: al-munazzim Date: Tue, 10 Feb 2026 20:39:23 +0000 Subject: [PATCH] fix: minor comment cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add missing apostrophe in usb.py comment ('dont' → 'don\'t') - Use gender-neutral pronouns in manager.py comments ('he wants' → 'they want') --- src/apps/wallets/manager.py | 4 ++-- src/hosts/usb.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/wallets/manager.py b/src/apps/wallets/manager.py index e80ce812..2500a742 100644 --- a/src/apps/wallets/manager.py +++ b/src/apps/wallets/manager.py @@ -329,7 +329,7 @@ async def confirm_transaction(self, wallets, meta, show_screen): Returns dict with options to pass to sign_psbtview function. """ - # ask the user if he wants to sign with custom sighashes + # ask the user if they want to sign with custom sighashes sighash = await self.confirm_sighashes(meta, show_screen) if sighash == False: return @@ -406,7 +406,7 @@ async def confirm_sighashes(self, meta, show_screen): if not used_custom_sighashes: return None - # ask the user if he wants to sign in case of non-default sighashes + # ask the user if they want to sign in case of non-default sighashes custom_sighashes = [ ("Input %d: %s" % (i, inp.get("sighash", sighash_name))) for (i, inp) in enumerate(meta["inputs"]) diff --git a/src/hosts/usb.py b/src/hosts/usb.py index b4101baf..9566d56b 100644 --- a/src/hosts/usb.py +++ b/src/hosts/usb.py @@ -115,7 +115,7 @@ def read_to_file(self): # if not - create new file on the ramdisk if self.f is None: self.f = open(self.path + "/data", "wb") - # check if we dont have EOL in the data + # check if we don't have EOL in the data if b"\n" not in res and b"\r" not in res: self.f.write(res) return