electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit a6eb9753eba635e84a4522158c587ec07c13e1ce
parent f1666f208b2127539a3b3b87b94e42f27c42b819
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  7 Sep 2017 21:40:38 +0200

fix cmdline create with segwit option

Diffstat:
Melectrum | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum b/electrum @@ -166,7 +166,8 @@ def run_non_RPC(config): elif cmdname == 'create': password = password_dialog() passphrase = config.get('passphrase', '') - seed = Mnemonic('en').make_seed() + seed_type = 'segwit' if config.get('segwit') else 'standard' + seed = Mnemonic('en').make_seed(seed_type) k = keystore.from_seed(seed, passphrase) k.update_password(None, password) storage.put('keystore', k.dump())