mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
core: fix missing value for mnemonic_type when upgrading firmware
This commit is contained in:
parent
2d3ef6ae3b
commit
1812be5d49
@ -8,7 +8,7 @@ TYPE_BIP39 = 0
|
||||
|
||||
def get() -> (bytes, int):
|
||||
mnemonic_secret = storage.get_mnemonic_secret()
|
||||
mnemonic_type = storage.get_mnemonic_type()
|
||||
mnemonic_type = storage.get_mnemonic_type() or TYPE_BIP39
|
||||
return mnemonic_secret, mnemonic_type
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user