ccc velocity
This commit is contained in:
parent
ab55c00065
commit
37c7119ae4
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user