Fix BackupDevice layout on 18-word seed wallets

pull/902/head
Konnor Klashinsky 4 years ago committed by GitHub
parent 2f905a1157
commit 70a1f957ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save