ccc velocity

This commit is contained in:
scgbckbone 2024-10-11 22:21:23 +02:00
parent ab55c00065
commit 37c7119ae4
2 changed files with 1 additions and 2 deletions

View File

@ -376,7 +376,7 @@ class BasicPSBT:
# auto-detect and decode Base64 and Hex.
if raw[0:10].lower() == b'70736274ff':
raw = a2b_hex(raw.strip())
if raw[0:6] == b'cHNidP':
if raw[0:6] in (b'cHNidP', 'cHNidP'):
raw = b64decode(raw)
assert raw[0:5] == b'psbt\xff', "bad magic {}".format(raw[0:5])
with io.BytesIO(raw[5:]) as fd:

View File

@ -327,7 +327,6 @@ def setup_ccc(goto_home, pick_menu_item, cap_story, press_select, pass_word_quiz
if w2fa:
pick_menu_item(mi_2fa)
press_cancel() # leave Spending Policy
return c_words