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