commit 1fe1fc3c083dfb8a674852edca758142a5c2e6bd
parent 296f30b92468ccd19ec8ea9bed0998b9f036256d
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 27 Sep 2016 16:37:02 +0200
fix: can be longer than 24
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py
@@ -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: