mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
Merge pull request #902 from ExodusMovement/master
Fix BackupDevice layout on 18-word seed wallets
This commit is contained in:
commit
0f95eff4ff
@ -137,7 +137,7 @@ def _split_share_into_pages(share_words):
|
||||
if length == 12 or length == 20 or length == 24:
|
||||
middle = share[2:-2]
|
||||
last = share[-2:] # two words on the last page
|
||||
elif length == 33:
|
||||
elif length == 33 or length == 18:
|
||||
middle = share[2:]
|
||||
last = [] # no words at the last page, because it does not add up
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user