cleanups
This commit is contained in:
parent
7daa67cc63
commit
609af3a257
@ -341,10 +341,6 @@ class PinAttempt:
|
||||
|
||||
return self.state_flags
|
||||
|
||||
def delay(self):
|
||||
# obsolete since Mk3, but called from login.py
|
||||
self.roundtrip(1)
|
||||
|
||||
def login(self):
|
||||
# test we have the PIN code right, and unlock access if so.
|
||||
chk = self.roundtrip(2)
|
||||
|
||||
@ -947,7 +947,7 @@ class QRScannerInteraction:
|
||||
whitelist.update({'xprv', 'words'})
|
||||
|
||||
if what not in whitelist:
|
||||
await ux_show_story("Blocked when Spending Policy is in force", title='Sorry')
|
||||
await ux_show_story("Blocked when Spending Policy is in force.", title='Sorry')
|
||||
return
|
||||
|
||||
if what == 'xprv':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user