What changed, and why it matters
This commit only fixes spelling mistakes in comments and user-facing text strings across nine source files. There are no code logic changes, no security fixes, and no functional behavior differences.
No security action needed; this is a documentation/typo cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a pure typo correction patch: ‘occured’ → ‘occurred’, ‘a a few’ → ‘a few’, ‘intersted’ → ‘interested’, ‘hardeneded’ → ‘hardened’, ‘loosing’ → ‘losing’, ‘definately’ → ‘definitely’, ‘protoccol’ → ‘protocol’, ‘thier’ → ‘their’, ‘overriden’ → ‘overridden’. All changes are in comments or string literals; no executable semantics are altered.
Changed components
shared/actions.pyshared/bbqr.pyshared/multisig.pyshared/notes.pyshared/psbt.pyshared/sffile.pyshared/users.pyshared/utils.pyshared/wallet.pyInspect captured patch +11 / −11
diff --git a/shared/actions.py b/shared/actions.py
index 20a239e..74d7a94 100644
--- a/shared/actions.py
+++ b/shared/actions.py
@@ -822,7 +822,7 @@ async def start_login_sequence():
# PIN again) and if it's a duress wallet, that's cool...
# Do we need to do countdown delay? (real or otherwise)
- # - wiping has already occured if that was selected by trick details
+ # - wiping has already occurred if that was selected by trick details
# - delay is variable, stored in tc_arg
delay = tp.was_countdown_pin()
@@ -2296,7 +2296,7 @@ async def wipe_address_cache(*a):
async def wipe_ovc(*a):
ok = await ux_confirm('''Clear history of segwit UTXO input values we have seen already. \
This data protects you against specific attacks. Use this only if certain a false-positive \
-has occured in the detection logic.''')
+has occurred in the detection logic.''')
if not ok: return
import history
diff --git a/shared/bbqr.py b/shared/bbqr.py
index c684e0b..a7f5fa9 100644
--- a/shared/bbqr.py
+++ b/shared/bbqr.py
@@ -54,7 +54,7 @@ def calc_num_qr(char_capacity, char_len, split_mod):
if char_len > actual:
need += 1
- # Challenge: the final QR might have just a a few chars in it, if we redistribute
+ # Challenge: the final QR might have just a few chars in it, if we redistribute
# the data into the other parts, then each QR can have more forward error correction
# and be more robust. Must respect split_mod alignment tho.
level = ceil(char_len / need)
diff --git a/shared/multisig.py b/shared/multisig.py
index b325c2b..df7192f 100644
--- a/shared/multisig.py
+++ b/shared/multisig.py
@@ -248,7 +248,7 @@ class MultisigWallet(WalletABC):
def iter_wallets(cls, M=None, N=None, not_idx=None, addr_fmts=None, name=None):
# yield MS wallets we know about, that match at least right M,N if known.
# - this is only place we should be searching this list, please!!
- # addr_fmts: list of address formats we're intersted in
+ # addr_fmts: list of address formats we're interested in
# name: string ms wallet name
lst = settings.get('multisig', [])
@@ -583,7 +583,7 @@ class MultisigWallet(WalletABC):
found_pk = node.pubkey()
# Document path(s) used. Not sure this is useful info to user tho.
- # - Do not show what we can't verify: we don't really know the hardeneded
+ # - Do not show what we can't verify: we don't really know the hardened
# part of the path from fingerprint to here.
here = '[%s]' % xfp2str(xfp)
if dp != len(path):
diff --git a/shared/notes.py b/shared/notes.py
index 89b2349..eff14d6 100644
--- a/shared/notes.py
+++ b/shared/notes.py
@@ -211,7 +211,7 @@ class NotesMenu(MenuSystem):
@classmethod
async def disable_notes(cls, *a):
# they don't want feature anymore; already checked no notes in effect
- # - no need for confirm, they aren't loosing anything
+ # - no need for confirm, they aren't losing anything
settings.remove_key('secnap')
settings.remove_key('notes')
settings.save()
diff --git a/shared/psbt.py b/shared/psbt.py
index c65557a..dabbfb5 100644
--- a/shared/psbt.py
+++ b/shared/psbt.py
@@ -478,7 +478,7 @@ class psbtOutputProxy(psbtProxy):
# - we get all of that by re-constructing the script from our wallet details
if not redeem_script and not witness_script:
# Perhaps an omission, so let's not call fraud on it
- # But definately required, else we don't know what script we're sending to.
+ # But definitely required, else we don't know what script we're sending to.
raise FatalPSBTIssue(
"Missing redeem/witness script for multisig output #%d" % out_idx
)
diff --git a/shared/sffile.py b/shared/sffile.py
index 829348d..9d2ac95 100644
--- a/shared/sffile.py
+++ b/shared/sffile.py
@@ -2,7 +2,7 @@
#
# sffile.py - file-like objects stored in PSRAM (Mk4+) (used to be SPI Flash)
#
-# - implements stream IO protoccol
+# - implements stream IO protocol
# - random read, sequential write
# - only a few of these are possible
# - the offset is the file name
diff --git a/shared/users.py b/shared/users.py
index 3d09ebe..8dd0ef4 100644
--- a/shared/users.py
+++ b/shared/users.py
@@ -78,7 +78,7 @@ KEY = 'usr'
UserInfo = namedtuple('UserInfo', 'auth_mode secret last_counter')
class Users:
- '''Track users and thier TOTP secrets or hashed passwords'''
+ '''Track users and their TOTP secrets or hashed passwords'''
@classmethod
def get(cls):
diff --git a/shared/utils.py b/shared/utils.py
index 3bfa4f2..dffb8a4 100644
--- a/shared/utils.py
+++ b/shared/utils.py
@@ -220,7 +220,7 @@ def to_ascii_printable(s, strip=False, only_printable=True):
def problem_file_line(exc):
# return a string of just the filename.py and line number where
- # an exception occured. Best used on AssertionError.
+ # an exception occurred. Best used on AssertionError.
tmp = uio.StringIO()
sys.print_exception(exc, tmp)
diff --git a/shared/wallet.py b/shared/wallet.py
index d3ef62a..cdfc564 100644
--- a/shared/wallet.py
+++ b/shared/wallet.py
@@ -38,7 +38,7 @@ class MasterSingleSigWallet(WalletABC):
def __init__(self, addr_fmt, path=None, account_idx=0, chain_name=None):
# Construct a wallet based on current master secret, and chain.
# - path is optional, and then we use standard path for addr_fmt
- # - path can be overriden when we come here via address explorer
+ # - path can be overridden when we come here via address explorer
n = chains.addr_fmt_label(addr_fmt)
if not version.has_qwerty:
Why this scored 26/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.