tfix: can be longer than 24 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 1fe1fc3c083dfb8a674852edca758142a5c2e6bd
DIR parent 296f30b92468ccd19ec8ea9bed0998b9f036256d
HTML Author: ThomasV <thomasv@electrum.org>
Date: Tue, 27 Sep 2016 16:37:02 +0200
fix: can be longer than 24
Diffstat:
M plugins/trustedcoin/trustedcoin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py
t@@ -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: