From 1fe1fc3c083dfb8a674852edca758142a5c2e6bd Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 27 Sep 2016 16:37:02 +0200 Subject: [PATCH] fix: can be longer than 24 --- plugins/trustedcoin/trustedcoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py index 18908e25..68a44368 100644 --- 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: