fix: can be longer than 24

This commit is contained in:
ThomasV 2016-09-27 16:37:02 +02:00
parent 296f30b924
commit 1fe1fc3c08
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ class TrustedCoinPlugin(BasePlugin):
words = seed.split()
n = len(words)
# old version use long seed phrases
if n == 24:
if n >= 24:
xprv1, xpub1 = keystore.xkeys_from_seed(' '.join(words[0:12]), "m/")
xprv2, xpub2 = keystore.xkeys_from_seed(' '.join(words[12:]), "m/")
elif n==12: