commit e8b634ac4a2982fb09dd4a3ad78e1bced8d637ae
parent 8df58ab3de3f93df3dadaf29d1fcddc1dc1f27b3
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 1 Nov 2017 14:46:44 +0100
from_seed: add missing parameter
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum b/electrum
@@ -141,7 +141,7 @@ def run_non_RPC(config):
storage.write()
else:
if keystore.is_seed(text):
- k = keystore.from_seed(text, passphrase)
+ k = keystore.from_seed(text, passphrase, False)
elif keystore.is_master_key(text):
k = keystore.from_master_key(text)
else:
@@ -170,7 +170,7 @@ def run_non_RPC(config):
passphrase = config.get('passphrase', '')
seed_type = 'segwit' if config.get('segwit') else 'standard'
seed = Mnemonic('en').make_seed(seed_type)
- k = keystore.from_seed(seed, passphrase)
+ k = keystore.from_seed(seed, passphrase, False)
storage.put('keystore', k.dump())
storage.put('wallet_type', 'standard')
wallet = Wallet(storage)